This example demonstrates how to integrate NextAuth.js with Keycloak in a Next.js application for authentication and session management. It covers setting up Keycloak as an OAuth provider, configuring NextAuth in a Next.js project, handling user sessions, and protecting API routes and pages with authentication.
jwt oauth2 typescript keycloak authentication nextjs session-management openid-connect identity-management oidc next-auth auth-provider keycloak-integration next-auth-keycloak nextjs-authentication
-
Updated
Feb 6, 2025 - TypeScript