Skip to content

Commit da631dc

Browse files
committed
rename NEXTAUTH_AUTHORIZATION_SCOPE to NEXTAUTH_AUTHORIZATION_SCOPE_OVERRIDE
1 parent 5315b11 commit da631dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ NEXTAUTH_CLIENT_SECRET="KEYCLOAK_SECRET"
1414
NEXTAUTH_SECRET="NEXTAUTH_SECRET"
1515
NEXTAUTH_ISSUER="http://localhost:8085/realms/orchestrator"
1616
NEXTAUTH_WELL_KNOWN_OVERRIDE="http://localhost:8085/auth/.well-known/openid-configuration"
17-
NEXTATHU_AUTHORIZATION_SCOPE="openid profile"
17+
NEXTAUTH_AUTHORIZATION_SCOPE_OVERRIDE="openid profile"
1818
NEXTAUTH_URL=http://localhost:3000/api/auth
1919

2020
# docker-compose variables

pages/api/auth/[...nextauth].ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const wfoProvider: OAuthConfig<WfoUserProfile> = {
2323
`${process.env.NEXTAUTH_ISSUER || ''}/.well-known/openid-configuration`,
2424
authorization: {
2525
params: {
26-
scope: process.env.NEXTAUTH_AUTHORIZATION_SCOPE ?? 'openid profile',
26+
scope: process.env.NEXTAUTH_AUTHORIZATION_SCOPE_OVERRIDE ?? 'openid profile',
2727
},
2828
},
2929
idToken: true,

0 commit comments

Comments
 (0)