Firebase Passing State(continue to website link) in Password Reset Email and email verification

Viewed 7416

I am using firebase for user authentication in my website. Trying to build a password reset flow where the user receives password reset email, reset's their password and then it is just redirect to the website with the given url.

Problem: I am able to send the password reset email and change the password for that account but when I click the continue button provided by the firebase.It throws following error in browser console.

Uncaught DOMException: Failed to execute 'assign' on 'Location': 
'https://?link=http://mywebsite.com/?email%3Duser@example.com' is not a valid URL.

I am also getting the same error for email verification link also.

The url is whitelisted in Firebase's authorized domains.

Please help me!

1 Answers
Related