私はcakephp 2.xウェブサイトを開発中です。私はfacebookとgoogleを使ってログインするのに、hybridauthを使っています。 https://example.com/hybridauth/?hauth.done=GoogleはGoogleのリダイレクトURL、https://example.com/hybridauth/?hauth.done=FacebookはFacebookです。 FacebookとGoogleを使用してログインできますが、一部のクライアントはログインできません。Cakephp 2.x hybridauth googleとfacebook loginリダイレクトURLエラー
Googleのエラー
400. That's an error
Error: redirect_uri_mismatch
The redirect uri in the request https://example.com/hybridauth/?hauth.done=Google does
not match the ones authorized for the OAuth client.
しかし、私は、開発者コンソールで同じリダイレクトURLを与えています。なぜこれが起こっているのか分かりません。 Facebookのために
:
URL blocked: This redirect failed because the redirect URL is
not white-listed in the app's client OAuth settings. Make sure that
the client and web OAuth logins are on and
add all your app domains as valid OAuth redirect URIs
任意のヘルプは、次の手順に従って、これらのエラーを修正するには