Skip to content

Commit

Permalink
add missing config layer (#139804)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmrabian authored Oct 22, 2024
1 parent d8a1d72 commit 877bb81
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions services/ui-src/src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,19 @@ Amplify.configure({
userPoolId: config.cognito.USER_POOL_ID,
identityPoolId: config.cognito.IDENTITY_POOL_ID,
userPoolClientId: config.cognito.APP_CLIENT_ID,
oauth: {
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"],
responseType: "code",
loginWith: {
oauth: {
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",
],
responseType: "code",
},
},
},
},
Expand Down

0 comments on commit 877bb81

Please sign in to comment.