Amplify.configure({
Auth: {
identityPoolId: REACT_APP_AWS_IDENTITY_POOL_ID,
region: REACT_APP_AWS_REGION,
userPoolId: REACT_APP_AWS_USER_POOL_ID,
userPoolWebClientId: REACT_APP_AWS_USER_POOL_WEB_CLIENT_ID,
mandatorySignIn: true,
cookieStorage: {
domain: REACT_APP_URL,
path: '/',
expires: 1,
},
oauth: {
domain: REACT_APP_AUTH_DOMAIN,
scope: ['email', 'openid'],
redirectSignIn: REACT_APP_URL,
redirectSignOut: REACT_APP_SIGNOUT_URL,
responseType: 'code',
},
},
});
I cloned the repo and tried to run using the config
I also have another vite application using aws-amplify version "^5.3.19",

But I am unable to find CognitoHostedUIIdentityProvider from aws-amplify npm package.