0
我正在使用dev version (2.0) of A3M for CodeIgniter將安全身份驗證添加到我的應用中。在auth過程(使用HybridAuth 2.2.0-dev)似乎順利,因爲日誌顯示:HybridAuth w/Google在codeigniter中嚴重重定向-a3m
(
[hauth_return_to] => https://mywebsite.com/account/connect/Google
[hauth_token] => uhas9b51ajhlehkbo1fehj79t0
[hauth_time] => 1405629149
[login_start] => https://mywebsite.com/account/connect_end?hauth.start=Google&hauth.time=1405629149
[login_done] => https://mywebsite.com/account/connect_end?hauth.done=Google
)
但它重定向我到一個頁面,在這個網址:
https://mywebsite.com/account/connect_end?hauth.start=Google&hauth.time=1405629255
與此內容:
HybridAuth
Open Source Social Sign On PHP Library.
hybridauth.sourceforge.net/
並未完成登錄或帳戶關聯。我試着將Google Developer Console中的redirect_uri
更改爲'/account/connect_end'
和'/account/connect/Google'
,結果相同。我怎樣才能讓它連接?
我使用PHP聯賽庫最近嘗試但失敗了 - 看到我的其他問題: http://stackoverflow.com/questions/24807921/google-oauth-2-0 - 返回-400-壞請求偶數從操場 – sventechie