diff --git a/client/pages/_app.page.tsx b/client/pages/_app.page.tsx index 8431bb1..2ce1be7 100644 --- a/client/pages/_app.page.tsx +++ b/client/pages/_app.page.tsx @@ -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',