File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ NEXTAUTH_CLIENT_SECRET="KEYCLOAK_SECRET"
14
14
NEXTAUTH_SECRET = " NEXTAUTH_SECRET"
15
15
NEXTAUTH_ISSUER = " http://localhost:8085/realms/orchestrator"
16
16
NEXTAUTH_WELL_KNOWN_OVERRIDE = " http://localhost:8085/auth/.well-known/openid-configuration"
17
+ NEXTATHU_AUTHORIZATION_SCOPE = " openid profile"
17
18
NEXTAUTH_URL = http://localhost:3000/api/auth
18
19
19
20
# docker-compose variables
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const wfoProvider: OAuthConfig<WfoUserProfile> = {
21
21
wellKnown :
22
22
process . env . NEXTAUTH_WELL_KNOWN_OVERRIDE ??
23
23
`${ process . env . NEXTAUTH_ISSUER || '' } /.well-known/openid-configuration` ,
24
- authorization : { params : { scope : 'openid profile' } } ,
24
+ authorization : { params : { scope : process . env . NEXTATHU_AUTHORIZATION_SCOPE ?? 'openid profile' } } ,
25
25
idToken : true ,
26
26
checks : [ 'pkce' , 'state' ] ,
27
27
userinfo : {
You can’t perform that action at this time.
0 commit comments