Javascript libraries to handle LTI
npm install @atomicjolt/lti npm i @atomicjolt/lti
1. Open ID Connect initialization
During this phase respond to the OIDC initialization request, attempt to write a state cookie and return and html page with a call to InitOIDCLaunch
2. Redirect
Server side validate the redirect and then return an HTML page capable of redirecting to the final LTI launch
3. Handle the LTI launch.
Validate the request including checking the nonce server side. Check for a valid state cookie and then return an HTML page with a script that calls LtiLaunch from this library.
Build package:
npm run build
Publish package:
npm publish --access public