0

私はfirebase 3とng 2を使用しています。 私の問題Googleアカウントとの接続をクリックするとエラーが表示されます。 私のエラーは次のとおりです。角度2のgoogleとfirebaseでログイン時にerorrを取得する

Error: redirect_uri_mismatch 

    400. That’s an error. 

Error: redirect_uri_mismatch 

Application: Events Manager 

You can email the developer of this application at: [email protected] 

The redirect URI in the request, https://......firebaseapp.com/__/auth/handler, does not match the ones authorized for the OAuth client. Visit https://console.developers.google.com/......apps.googleusercontent.com?project=181586 to update the authorized redirect URIs. 

私は認定リダイレクトURIs-をconsole.developers.google.comするつもりだとき、私のプロジェクトはhttp://localhost:3000/#/login

上で実行されます>http://localhost:3000/

任意のアイデアホエーは、それが起こるのですか?

+0

ねえビタリー、あなたはURLのhttpsをホワイトリストに登録する必要があります:あなたのGoogleのOAuthクライアントで// .firebaseapp.com/__ /認証/ハンドラ。 – bojeil

+0

許可されたJavaScript起点→原点URIにはパスが含まれていたり、「/」で終わってはいけません。 –

答えて

0

firebase authリンクに正しいホストを追加する必要がありました。

firebase->のOAuthドメインにリダイレクト

関連する問題