diff --git a/services/ui-src/src/index.jsx b/services/ui-src/src/index.jsx index 5a4d47d3..861b6daa 100644 --- a/services/ui-src/src/index.jsx +++ b/services/ui-src/src/index.jsx @@ -20,7 +20,6 @@ Amplify.configure({ Storage: { region: config.s3.REGION, bucket: config.s3.BUCKET, - identityPoolId: config.cognito.IDENTITY_POOL_ID, }, API: { REST: { @@ -32,8 +31,6 @@ Amplify.configure({ }, Auth: { Cognito: { - mandatorySignIn: true, - region: config.cognito.REGION, userPoolId: config.cognito.USER_POOL_ID, identityPoolId: config.cognito.IDENTITY_POOL_ID, userPoolClientId: config.cognito.APP_CLIENT_ID, @@ -42,12 +39,7 @@ Amplify.configure({ domain: config.cognito.APP_CLIENT_DOMAIN, redirectSignIn: [config.cognito.REDIRECT_SIGNIN], redirectSignOut: [config.cognito.REDIRECT_SIGNOUT], - scopes: [ - "email", - "openid", - "profile", - "aws.cognito.signin.user.admin", - ], + scopes: ["email", "openid", "profile"], responseType: "code", }, },