Commune Auth Demo Client

A reference implementation for integrating with Commune Auth using Next.js and next-auth.

Get Started

Sign in with Commune Auth to explore the demo features. You can select your tenant and auth group on the login page.

Multi-Tenant

Dynamic tenant and auth group selection via form or URL parameters.

OIDC Integration

Complete OpenID Connect flow with PKCE support for secure authentication.

Token Management

View and inspect access tokens, ID tokens, and automatic token refresh.