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?

本番環境のSupabase+Google認証でlocalhostにリダイレクトされてしまう

Posted at

SupabaseでGoogle認証を可能にしましたが、リダイレクトがうまくいかないという問題が発生しました。本番環境でGoogle認証をしようとするもlocalhostにリダイレクトされてしまうという問題です。

解決方法

以下のように「Redirect URLs」を以下のように設定することで開発環境ではlocalhostに本番環境では本番環境のURLにリダイレクトできるようになりました。
スクリーンショット 2025-05-31 191107.png

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?