add auth scope to provider

This commit is contained in:
leander committed 2025-02-19 22:04:48 +01:00
1 parent 7f618a5ad2
commit 172ca7cf82
1 file changed
+2 -1
+2 -1
View File
@@ -11,7 +11,8 @@ export const authOptions = {
checks: ["pkce", "state"],
clientId: process.env.GALTINN_ID,
clientSecret: process.env.GALTINN_SECRET,
authorization: { params: { scope: "openid email profile" } },
profile(profile) {
return {
id: profile.sub,