1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【React】supabase認証 リダイレクトメールリンク先が表示されない症状の解決方法について

Posted at

はじめに

supabase認証機能でサインアップ後リダイレクトで送信されるメールのリンク先が開発環境と本番環境で違いがあり、そちらの解決方法について記事にします。


解決方法

URL ConfigurationのRedirect URLsに登録する

4_20.png

デフォルトで上記のような状態になっていますので、こちらにURL/*を登録することで解決することができました。

参考

おわりに

併せてSite URLも変更しておきました。
なお、Site URLを本番環境のURLにした場合、Redirect URLsにローカルのURLを登録しておかないと開発環境でのリダイレクト先が本番環境のURLになってしまうようです。


1
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?