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

More than 5 years have passed since last update.

URLはブロックされています: リダイレクトURIがアプリのクライアントOAuth設定でホワイトリストに追加されていないため、リダイレクトできませんでした。クライアントとウェブOAuthログインをオンにして、すべてのアプリドメインを有効なOAuthリダイレクトURIとして追加してください。

0
Posted at

ググって1ページ目に出なかったら積極的に残していくスタイル。たとえそれが公式ドキュメントを読みましょうとしか言いようがないことだとしても。

URLはブロックされています: リダイレクトURIがアプリのクライアントOAuth設定でホワイトリストに追加されていないため、リダイレクトできませんでした。クライアントとウェブOAuthログインをオンにして、すべてのアプリドメインを有効なOAuthリダイレクトURIとして追加してください。

Facebookログインを実装しようとした時に、これが出てきたら、https://firebase.google.com/docs/auth/web/facebook-login
ここのページの準備のところを読んでください。

公式ドキュメントを読みましょうということに尽きるのですが、ドキュメントを読まず

yarn create next-app --example with-firebase-authentication with-firebase-authentication-app

とかでテンプレから作ってそこからちょっとFacebook認証加えてさくっと動かそうとしたら動かなくてエラーメッセージでググってもなかなか解決法が出てこず時間を無駄にする自分のような人がいるかもしれないので残します。

公式ドキュメントを読みましょう。

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