Skip to content

Commit

Permalink
fix: update amplify auth config
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Sep 17, 2024
1 parent 3453a9e commit bea3a0e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/pages/_app.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ function MyApp({ Component, pageProps }: AppProps) {
userPoolClientId: defaults.userPoolClientId,
userPoolEndpoint: NEXT_PUBLIC_API_ORIGIN,
loginWith: {
email: true,
oauth: {
domain: defaults.oauthDomain,
scopes: ['openid'],
scopes: ['openid', 'profile', 'aws.cognito.signin.user.admin'],
redirectSignIn: [location.origin],
redirectSignOut: [location.origin],
responseType: 'code',
Expand Down

0 comments on commit bea3a0e

Please sign in to comment.