I am working on the login and sign up system of my project. I was following this tutorial (https://www.youtube.com/watch?v=T6G-Y6Fb5Uo). However, the code cannot work to proceed.
Please show your relevant blocks, and expose any long text blocks containing urls or partial urls
You need an &
before returnSecureToken=true
Can't check anything else because you did not expose your urls in the variables login
and createacc
Are you sure you want the world to see your API key?
I have added the & but the error still persist.
The urls
login - https://identitytoolkit.googleapis.com/v1/accounts:resetPassword?key=
createacc - https://identitytoolkit.googleapis.com/v1/accounts:signUp?key=
Thanks.
Why are you sending a password reset url for a login ?
The correct url to send a password reset email is:
https://identitytoolkit.googleapis.com/v1/accounts:sendOobCode?key=[API_KEY]
The correct url for a login is:
https://identitytoolkit.googleapis.com/v1/accounts:signInWithPassword?key=[API_KEY]
This helps a lot. Thank you very much.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.