MISSING_OOB_CODE Error

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


image


image

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]

Reference

My bad. I have edited the code but another error shows up.

These are the blocks you need for login

You my have more success using this extension:

FirebaseManager

1 Like

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.