sample-js A working example of crossid-spa-js, using vanilla js. An OAuth2 and OIDC SDK for a single page application (SPA), using the authorization code flow with PKCE extension. Get Started Clone this repo, then: npm run dev See src/main.ts and index.html.