Unable To Set Up Dynamic Links For Firebase Authentication

I've followed documentation in order to set dynamic links

  1. My domain was already added to my hosting
  2. So I went ahead to dynamic links and created custom prefix i.e.
  3. After that I added custom hosting configuration and deployed it
  "hosting": {
    "public": "hosting",
    "appAssociation": "AUTO",
    "rewrites": [
        "source": "/link/**",
        "dynamicLinks": true
  1. Once deployed I added following key to my iOS projects .plist file

Now I've cleaned my build, ran the app and sent myself a dynamic link. Url still uses firebases structure. I'm not sure if there is something I'm doing wrong or am I misunderstanding what these custom domains mean?

Note: I am testing this through email link (passwordless) authentication, perhaps custom domain is just not applied there?



Firebase Auth only supports custom Firebase Dynamic Links without custom paths.

So if your custom domain is, it won't work. However, configuring as the custom domain will work.