Simple Javascript client that implements the OpenID Connect implicit flow
This code is forked based on a blog by Nat Sakimura originally documented in this blog
To use this library, Include the openidconnect.js
script;
- Set the provider and client configuration info through JSON objects;
- Call the server – login;
- In the callback page, callback.html, you will get ID Token back, so that you can put it into the cookie to handle the session.