GithubHelp home page GithubHelp logo

schoology_php_sdk's People

Contributors

aghandler1987 avatar ahandlerschoology avatar dcmeglio avatar dmegliops avatar educarneiro avatar erikboesen avatar marcosvcassel avatar schoology-psmith avatar timtrinidad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

schoology_php_sdk's Issues

Possibly wrong assumption that body is an array

There is an assumption that $body is an array in _curlRequest, line 317. There is no else branch, meaning that if $body is a string, you will get an error ($json_body will not be defined).

I propose to add the else branch, if that is actually the intended way.

      if(is_array($body ))
          $json_body = json_encode( $body );
      else
        $json_body = $body;

      $curl_options[ CURLOPT_POSTFIELDS ] = $json_body;

Error parsing SAML respnse.

I am getting the following error when using the ValidateLogin() function in SchoologyApi.class.php.

Error parsing SAML 2.0 response

oauth 2.0 scopes

Using the documentation for LTI 1.3 apps we can exchange the JWT token to an oauth 2.0 access token using

OAuth 2 Access Token Endpoint: https://lti-service.svc.schoology.com/lti-service/access-token

if we have the following form params:

            'grant_type' => 'client_credentials',
            'client_assertion_type' => 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer',
            'client_assertion' => '....',
            'scope' => '????',

what should be placed in the scopes key? tried https://purl.imsglobal.org/spec/lti/v1p3/scope/user.readonly based on the naming conventions and it keeps saying invalid scope no matter what i try.

documentation is extremely lacking as well as online resources.

Thank You.

Do I Need Keys Per District?

How does this work when deploying an app? Would we need to register with Schoology? Would we request keys for each district site and then use those keys according to the referrer?

API not returning more than 200 results

Hey, this is an API issue, figured I'd put it here so someone at Schoology would see it.

The API doesn't return more than 200 results, no matter what limit you set. It's on Schoology's side, nothing to do with my client. Can this be resolved?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.