Search code examples
emailfirebase-authenticationfirebase-dynamic-linkswhitelist

Unable to create dynamic link "An error occurred when creating a new Dynamic Link"


I'm trying to add passwordless email signin to my Firebase app, so the first thing I did was to whitelist my domain:

whitelisted domain

Next, I tried to create the dynamic link:

enter image description here enter image description here enter image description here

At this point, when I pressed the Create button, I got the error. Anyone see what I'm doing wrong?

I also tried what was suggested in this video with the same result.

One last thing and then I've run out of ideas: In the Chrome developer console, I see the Create is failing with an error 400, suggesting that I needed to update the whitelisted URLs. I did that by adding the following URL:

enter image description here

and also enter image description here

This problem has been driving me crazy. I've tried everything, I think. Makes me wonder if I need to recreate my app in Firebase.


Solution

  • This issue usually means that your pattern doesn't match with your deep link URL.

    So if you're trying to add https://pento-2a27b.firebaseapp.com as your deep link, you should have a whitelist pattern similar to ^https://pento-2a27b\.firebaseapp\.com

    Let me know if this works.