OAuth PKCE Demo in Vanilla JS
Read more about this code: Is the OAuth 2.0 Implicit Flow Dead?
This is a demonstration of doing a complete OAuth Authorization Code flow with PKCE in pure JavaScript. No external libraries are used.
To run this demo, you'll need to configure your OAuth server and client information in the HTML file.
This demonstration uses the following browser APIs which may not be available in all browsers: