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

Identity Server Provider

💡

이 프로바이더는 더 이상 사용되지 않으며, Duende IdentityServer6로 대체되었습니다.

리소스

설정

콜백 URL

https://example.com/api/auth/callback/identity-server4

환경 변수

AUTH_IDENTITY_SERVER4_ID
AUTH_IDENTITY_SERVER4_SECRET
AUTH_IDENTITY_SERVER4_ISSUER

설정

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