fix(azure-ad): use PKCE instead of state cookie to fix proxy issues
This commit is contained in:
parent
f700ab0cea
commit
97c8b7af72
@ -39,6 +39,7 @@ export const authOptions: NextAuthOptions = {
|
|||||||
scope: "openid profile email offline_access user.read Calendars.ReadWrite Tasks.ReadWrite"
|
scope: "openid profile email offline_access user.read Calendars.ReadWrite Tasks.ReadWrite"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
checks: ["pkce"],
|
||||||
}),
|
}),
|
||||||
CredentialsProvider({
|
CredentialsProvider({
|
||||||
name: "credentials",
|
name: "credentials",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user