【发布时间】:2015-01-19 05:24:46
【问题描述】:
我正在使用 PHP HybridAuth 库并集成了 oauth2 支持,所有提供商(例如 Yahoo、MSN 和 Facebook 都可以使用,但 Google 除外)显示
The redirect URI in the request:
https://www.example.com/auth?action=callback&hauth.done=Google did not match a registered redirect URI.
我的重定向 url 是:https://www.example.com/auth?action=callback&hauth.done=Google,我已经添加了两个 url,看看我是否可以解决它们的无意义转义限制,例如
https://www.example.com/auth?action=callback&hauth.done=Google
https://www.example.com/auth?action=callback&hauth.done=Google
还是没有运气...有什么想法吗?
【问题讨论】:
-
尝试添加页面? example.com/auth/…
-
是因为 & 签名还是因为您使用的 https 页面没有经过认证。使用受信任的证书检查其他一些 URL
标签: oauth oauth-2.0 google-api google-oauth hybridauth