diff --git a/services/ui-src/src/index.jsx b/services/ui-src/src/index.jsx index d4655044..5a4d47d3 100644 --- a/services/ui-src/src/index.jsx +++ b/services/ui-src/src/index.jsx @@ -40,8 +40,8 @@ Amplify.configure({ loginWith: { oauth: { domain: config.cognito.APP_CLIENT_DOMAIN, - redirectSignIn: config.cognito.REDIRECT_SIGNIN, - redirectSignOut: config.cognito.REDIRECT_SIGNOUT, + redirectSignIn: [config.cognito.REDIRECT_SIGNIN], + redirectSignOut: [config.cognito.REDIRECT_SIGNOUT], scopes: [ "email", "openid",