Ready to deploy
Next.js
App Router, server-side code exchange, HttpOnly session cookies, token validation, and sign-out.
OPEN-SOURCE EXAMPLES
Try a real Hosted Auth flow, inspect the source, and start from the framework closest to your application.
HOSTED AUTH
App Router, server-side code exchange, HttpOnly session cookies, token validation, and sign-out.
Browser-only React with Authorization Code + PKCE and no client secret in frontend code.
NamoID owns authentication while Supabase stores application data behind an authenticated server boundary.
A separate Express API manages the confidential code exchange and application session for React.