Skip to main content

Next.js

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Authentication for Next.js with full App Router and server-component support.

API reference​

Every export is fully typed. The signatures and props below come from the package's own reference documentation, so what is listed here is what the installed version ships.

See the full API reference for every export, its signature and an example.

Functions​

  • <ThunderIDProvider /> (function): The ThunderIDProvider is a React Server Component that initializes Choreo Identity & Access Management authentication and wraps your application layout.

  • Configuration (function): The Choreo Identity & Access Management Next.js SDK reads configuration primarily from environment variables.

  • Middleware (function): The Choreo Identity & Access Management Next.js SDK provides Edge Runtime-compatible middleware for automatic token refresh and route protection.

  • Server Actions (function): The Choreo Identity & Access Management Next.js SDK provides server actions for authentication, session management, and user operations.

Get started​

Provider, session, and a protected route, start to finish.

Connect your application: Getting started / Connect your application / Next.js

The quickstart is maintained alongside the rest of the getting-started guides so it stays in step with the platform. This page covers the package itself.

Was this page helpful?