aws-samples / aws-samples/amplify-vite-react-template
Cannot get loginwith
- Dominant language
- TypeScript
- Stars
- 109
- Forks
- 261
- PR merge metrics
- No merged PRs in 30d
Description
I cloned the repo and tried to run using the config
```
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 also have another vite application using aws-amplify version "^5.3.19",
But I am unable to find CognitoHostedUIIdentityProvider from aws-amplify npm package.

Contributor guide
Research direction
Start by checking the repository's dependency version and the Amplify.configure Auth settings shown in the issue. Then compare the available package exports with the authentication API expected by that version. Done means the login flow and CognitoHostedUIIdentityProvider usage are clarified for this template.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, react, typescript, vite
- Domain
- authentication, cloud, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100