The following library is provided as an example of how to handle OIDC Login using platform storage via postmessage rather than cookies. This code is currently provided solely as an example and provides no guarantee.
The library can be built using the following command:
npm install
npm run build
Once built, include the compiled library from lib/ltistorage.js
in your page.
To initialize the library run the following:
window.ltiStorage = new LtiStorage(debugMode);