-
Notifications
You must be signed in to change notification settings - Fork 199
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
AuthError: Incorrect username or password but can register #3282
Comments
Would you be able to share how you call signIn method in your code? Seems like an email is harcoded in the method! Also share verbose logs enabling verbose logging for Amplify. |
since it's in my local env, the email is hard coded into the code, is it not possible?
|
The emails are different.
|
it was a typo, I've updated it |
It says that you've exceeded the password attempt count. I would recommend to create a new user and is you still see an error, please share verbose logs with us. You can enable verbose logging to the console by doing this before calling
|
still doesn't give me any hint
|
@confusionhill Would you be able to share the entire log? Everything that Amplify is doing from the start to better understand what is going on here. |
Describe the bug
I tried to call the sign in method on amplify
but the server responded with "AuthError: Incorrect username or password", somehow registration works like a charm without any trouble so what did I do wrong to be exact?
here's my configuration
note : I did not set any client secret, so I still have no idea why it doesn't work
Steps To Reproduce
Expected behavior
Login succesfully without any error
Amplify Framework Version
latest
Amplify Categories
Auth
Dependency manager
Swift PM
Swift version
5.8
CLI version
12.6.0
Xcode version
14.3
Relevant log output
Is this a regression?
No
Regression additional context
No response
Platforms
No response
OS Version
ios 15.0
Device
emulator
Specific to simulators
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: