diff --git a/CHANGELOG.md b/CHANGELOG.md index 6875da660..f71c6f237 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Changed - Made `p5` canvas responsive to the available space (#887) +- Specify the 'roles' scope in OAuth requests ### Fixed diff --git a/src/utils/userManager.js b/src/utils/userManager.js index a47ad42fe..59eefc9cd 100644 --- a/src/utils/userManager.js +++ b/src/utils/userManager.js @@ -10,7 +10,7 @@ const userManagerConfig = { redirect_uri: `${host}/auth/callback`, post_logout_redirect_uri: host, response_type: "code", - scope: "openid email profile force-consent allow-u13-login", + scope: "openid email profile force-consent allow-u13-login roles", authority: process.env.REACT_APP_AUTHENTICATION_URL, silent_redirect_uri: `${host}/auth/silent_renew`, automaticSilentRenew: true,