Auth SSO Util
The library presently depends on Auth0Lock
to be available globally.
Include Auth0's Lock as follows:
<!-- Latest major release --> <!-- Latest minor release --> <!-- Latest patch release (recommended for production) -->
Import the library into a file that will be run immediately on load.
Start the verification of authentication before loading your app code.
;
To enable Single Sign Out, we can turn on SSO session check on some interval. Therefore, if a user signs out of one of our other applications, their session will be invalidated here.
;
TODO:
- Export a method to sign users out of Auth0.
- Inject window, document, Auth0Lock to remove globals dependence.
- Tests.