Skip to content

Commit 01db6aa

Browse files
committed
Expand OAuth2 scope in OIDC configuration to include offline_access and additional permissions
Make sure to include the grant scope in your request. The granted values can then be retrieved from the JWT under the grant claim.
1 parent 625576c commit 01db6aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/OidcConfiguration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const initData = {
33
client_id: "ringfs",
44
redirect_uri: baseUrl + "/authentication/callback",
55
response_type: "id_token token",
6-
scope: "openid profile email",
6+
scope: "openid profile email offline_access opensvc:om2 opensvc:om2:root opensvc:om2:guest grant",
77
silent_redirect_uri: baseUrl + "/authentication/silent_callback",
88
automaticSilentRenew: true,
99
loadUserInfo: false,

0 commit comments

Comments
 (0)