-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Can not sign in #14253
Comments
Hey @RyugaRyuzaki, thanks for opening this issue. What is the output of the |
Hi @jjarvisp i tried this example
But the error "Incorrect username or password" |
Hi, @RyugaRyuzaki, thanks for following up. I have a few more questions that will hopefully help us narrow down the friction your are encountering here. Can you verify that the values of username and password match as well and also confirm by inspecting the network traffic that the username and password in the request matches what you would expect for an existing user in your Cognito user pool? For example: async function handleSubmit(event: FormEvent<SignInForm>) {
event.preventDefault()
const form = event.currentTarget
const signInInput = {
username: form.elements.email.value,
password: form.elements.password.value,
};
console.log(signInInput);
const { nextStep } = await signIn(signInInput);
console.log(nextStep);
} Do you have MFA enabled in your Cognito user pool? If so, you'll need to update your application to handle collecting the OTP code from the user and calling the Can you run the following and share the output? npx envinfo --system --binaries --browsers --npmPackages --duplicates --npmGlobalPackages |
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
Authentication
Amplify Version
v6
Amplify Categories
No response
Backend
None
Environment information
I can not signin in typescript with
Even i can resetpassword and confim
And my user also received verify code.
Describe the bug
Can not signin
Expected behavior
Need user signiin
Reproduction steps
/////private
Code Snippet
// Put your code below this line.
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: