相关疑难解决方法(0)

Firebase says "Domain not whitelisted" for a link that is whitelisted

I am busy setting up a firebase authentication using an email magic link and using the guide here:

https://firebase.google.com/docs/auth/android/email-link-auth

It says I need to whitelist a domain, but I cannot find any place in the console to do that, other than the dynamic link I created. I tried running the below code, but I get

[ UNAUTHORIZED_DOMAIN:Domain not whitelisted by project ]

    val actionCodeSettings = ActionCodeSettings.newBuilder()
            // URL you want to redirect back to. The domain (www.example.com) for this
            // …
Run Code Online (Sandbox Code Playgroud)

android firebase firebase-authentication

8
推荐指数
2
解决办法
4555
查看次数