Coder Social home page Coder Social logo

oat-sa / lib-lti1p3-nrps Goto Github PK

View Code? Open in Web Editor NEW
1.0 45.0 2.0 186 KB

PHP library for LTI 1.3 Names and Role Provisioning Services implementations as platforms and / or as tools.

License: GNU General Public License v2.0

PHP 100.00%
php-library ims lti lti1p3 lti-tool lti-platform lti-service ltiadvantage nrps

lib-lti1p3-nrps's Issues

Bad request for NRPS on moodle

Hi,
I'm integrating LTI advantage to my system as a tool provider, and I use moodle to act as consumer to test if my system work as tool, everything works fine, but when I try using NRPS service I always got this error

OAT \ Library \ Lti1p3Core \ Exception \ LtiException (400)
Cannot get context membership: Cannot get access token: Client error: `POST http://moodle.local/mod/lti/token.php` resulted in a `400 Bad Request` response: { "error" : "Cannot handle token prior to 2023-02-07T16:09:29+0700" } 

Previous exceptions

Cannot get access token: Client error: `POST http://moodle.local/mod/lti/token.php` resulted in a `400 Bad Request` response: { "error" : "Cannot handle token prior to 2023-02-07T16:09:29+0700" } (400)

Client error: `POST http://moodle.local/mod/lti/token.php` resulted in a `400 Bad Request` response: { "error" : "Cannot handle token prior to 2023-02-07T16:09:29+0700" } (400)


How to fix this error? is it moodle's error or it happen on this library?

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.