LoginSignup
1
1

More than 3 years have passed since last update.

firebase auth で sendEmailVerification() は問題ないのに sendEmailVerification(actionCodeSettings) が 400 のエラーになるとき

Last updated at Posted at 2020-02-02

getOobConfirmationCode への Post が 400 で帰ってくる

actionCodeSettings の url に指定したドメインが firebase auth の white list に登録されていないのが原因なので登録する

スクリーンショット 2020-02-03 8.43.07.png

ちなみになんでそれが原因だとわかったのかというと sendEmailVerification() の例外を catch して message を見ると、その旨が親切にかいてあるんですヽ(^o^)丿、親切な message ってホントありがたいですね!

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1