Skip to content

Commit

Permalink
remove invalid config and unused scope (#139807)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmrabian authored Oct 23, 2024
1 parent 18c7b19 commit 7d5fbf8
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions services/ui-src/src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Amplify.configure({
Storage: {
region: config.s3.REGION,
bucket: config.s3.BUCKET,
identityPoolId: config.cognito.IDENTITY_POOL_ID,
},
API: {
REST: {
Expand All @@ -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,
Expand All @@ -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",
},
},
Expand Down

0 comments on commit 7d5fbf8

Please sign in to comment.