Skip to content
Migrating from NextAuth.js v4? Read our migration guide.

Okta Provider

리소스

설정

Callback URL

https://example.com/api/auth/callback/okta

환경 변수

AUTH_OKTA_ID
AUTH_OKTA_SECRET
AUTH_OKTA_ISSUER

설정

/auth.ts
import NextAuth from "next-auth"
import Okta from "next-auth/providers/okta"
 
export const { handlers, auth, signIn, signOut } = NextAuth({
  providers: [Okta],
})
Auth.js © Balázs Orbán and Team - 2025