The minimum code required to integrate an Auth0 login using vanilla JavaScript with no dependencies.
Implemented functions:
- Login using Authorization Code Flow with PKCE
- Login using Implicit Flow with id_token in URL fragment (deprecated): this flow should only be used if
Authorization Code Flow with PKCE
can't be used. There's no direct how-to article but this article is close. - Logout