Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get loginwith #10

Open
shailjaatkotiya opened this issue Jul 18, 2024 · 0 comments
Open

Cannot get loginwith #10

shailjaatkotiya opened this issue Jul 18, 2024 · 0 comments

Comments

@shailjaatkotiya
Copy link

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',
    },
  },
});

image

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.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant