A reference implementation for integrating with Commune Auth using Next.js and next-auth.
Sign in with Commune Auth to explore the demo features. You can select your tenant and auth group on the login page.
Dynamic tenant and auth group selection via form or URL parameters.
Complete OpenID Connect flow with PKCE support for secure authentication.
View and inspect access tokens, ID tokens, and automatic token refresh.