Next.js
Use oidc-spa in a Next.js App Router app.
Before you start
The example
Installation
Required wiring
Initialize early on the client
Wrap the app
Add Next-specific adapters
Keep oidc-spa on the client
Important limitation
Routes in the example
Creating an API server
Backend Token ValidationLast updated
Was this helpful?