diff --git a/plugins/auth-backend-module-onelogin-provider/src/authenticator.ts b/plugins/auth-backend-module-onelogin-provider/src/authenticator.ts index ab1d4c3238..7b40ad7473 100644 --- a/plugins/auth-backend-module-onelogin-provider/src/authenticator.ts +++ b/plugins/auth-backend-module-onelogin-provider/src/authenticator.ts @@ -58,6 +58,7 @@ export const oneLoginAuthenticator = createOAuthAuthenticator({ }, async start(input, helper) { + input.scope = 'openid'; return helper.start(input, { accessType: 'offline', prompt: 'consent', @@ -69,6 +70,7 @@ export const oneLoginAuthenticator = createOAuthAuthenticator({ }, async refresh(input, helper) { + input.scope = 'openid'; return helper.refresh(input); }, });