Skip to content

Commit

Permalink
fix(@aws-amplify/auth): Fix OAuth scopes (#5844)
Browse files Browse the repository at this point in the history
* Fix scope issue on OAuth flows
  • Loading branch information
elorzafe authored May 20, 2020
1 parent 02a95b2 commit e71fee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/auth/src/OAuth/OAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 } : {}),
Expand Down

0 comments on commit e71fee5

Please sign in to comment.