feat(auth): link credentials users with OIDC (#6445)

This commit is contained in:
Thomas authored and GitHub committed 2026-07-28 14:49:51 +02:00
1 parent 4ef7641cb2
commit e66979bab6
10 files changed
+262 -15

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ export const createConfiguration = (
headers: ReadonlyHeaders | null,
useSecureCookies: boolean,
) => {
const adapter = createAdapter(db, provider);
const adapter = createAdapter(db, provider, env.AUTH_OIDC_ENABLE_DANGEROUS_CREDENTIALS_LINKING);
return NextAuth({
logger: {
error: (error) => {