Skip to content

Firebase OTP auth can't handle with wrong OTP code. The problem was not solved. coz, credential.token != null is always true. #3642

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

Closed
ShohidulProgrammer opened this issue Sep 24, 2020 · 0 comments

Comments

@ShohidulProgrammer
Copy link

The problem was not solved. coz, credential.token != null is always true.
so, I never can call the "signIn(credential)" method.
If I input the right OTP code without checking the credential.token != null condition then it can create a user.
but, I also want to check whether the input wrong/ invalid OTP code.
if invalid OTP code inputted then the unhandled exception occurred which I already mentioned above.

Originally posted by @ShohidulProgrammer in #3626 (comment)

@firebase firebase locked and limited conversation to collaborators Oct 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant