diff --git a/packages/auth/src/OAuth/OAuth.ts b/packages/auth/src/OAuth/OAuth.ts index eae83ccf76d..8295ed8e4fb 100644 --- a/packages/auth/src/OAuth/OAuth.ts +++ b/packages/auth/src/OAuth/OAuth.ts @@ -86,7 +86,7 @@ export default class OAuth { response_type: responseType, client_id: clientId, identity_provider: provider, - scopes: this._scopes, + scope: this._scopes, state, ...(responseType === 'code' ? { code_challenge } : {}), ...(responseType === 'code' ? { code_challenge_method } : {}),