2016-09-03 63 views
1

當我嘗試使用Google身份驗證登錄時,出現錯誤。我已經使用混合身份驗證使用。它在HTTP上工作,但不在HTTPS上工作。 請參閱錯誤:如何解決Google社交登錄中的用戶配置文件請求失敗

User profile request failed. Most likely the user is not connected to the provider and he should authenticate again. Ooophs, we got an error: User profile request failed! Google returned an error: exception 'Exception' with message 'The Authorization Service has return

代碼

$hybridauth = new Hybrid_Auth($setting); 
$provider = $hybridauth->authenticate($this->session->data['provider']); 
//get the user profile 
$profile = $provider->getUserProfile(); 
$this->register($this->session->data['provider'], (array)$profile); 
+0

我也遇到了HybridAuth這個問題 –

回答

相關問題