Okta Provider
Resources
Setup
Callback URL
https://example.com/api/auth/callback/okta
Environment Variables
AUTH_OKTA_ID
AUTH_OKTA_SECRET
AUTH_OKTA_ISSUER
Configuration
/auth.ts
import NextAuth from "next-auth"
import Okta from "next-auth/providers/okta"
export const { handlers, auth, signIn, signOut } = NextAuth({
providers: [Okta],
})