Firebase Passing State(continue to website link) in Password Reset Email and email verification -
i using firebase user authentication in website. trying build password reset flow user receives password reset email, reset's password , redirect website given url.
problem: able send password reset email , change password account when click continue button provided firebase.it throws following error in browser console.
uncaught domexception: failed execute 'assign' on 'location': 'https://?link=http://mywebsite.com/?email%3duser@example.com' not valid url.
i getting same error email verification link also.
the url whitelisted in firebase's authorized domains.
please me!
are passing canhandlecodeinapp
true? means want reset link open in mobile app if installed. if so, looks fdl domain not configured (it resolving empty string). should go dynamic links section in firebase console , setup/agree terms of service. update link like: https://example.app.goo.gl/?link=....
able see domain in console dynamic links section.
otherwise can pass canhandlecodeinapp
false open link via web action callback url set in email templates section of firebase console. link not go through fdl unlike latter.
Comments
Post a Comment