Auth.js (Next.js)
Passage + Auth.js + Next.js
Passage works as a custom OAuth authentication provider for NextAuth.js authentication.
Prerequisites
Create an OIDC enabled app in the Passage Console
[Optional] Learn more about Auth.js OIDC Providers
Passage Provider
The Passage Provider is a fully supported OIDC provider that is included in the Auth.js core library.
Example Implementation
clientId and clientSecret can be found on your Passage Settings OIDC tab.
issuer is the 'Custom subdomain' found on your Passage Settings General tab.
For further details reference the Auth.js documentation here.
Last updated