2012-02-15 60 views
0

我面對這個錯誤我的代碼是谷歌瀏覽器嘗試連接到本地主機被拒絕

<a href='https://accounts.google.com/o/oauth2/auth? 
       state=%2Fprofile&amp; 
       client_id=524265562778.apps.googleusercontent.com& 
       redirect_uri=https://localhost/oauth2callback.html& 
       scope=https://gdata.youtube.com& 
       response_type=code&amp'>Login</a> 

,當我在允許訪問出現上述錯誤

回答

1

我覺得URL值應該進行urlencode點擊。

+0

我解決了它。因爲我工作在http和重定向uri是https,它不支持安全http – 2012-02-16 11:49:23

相關問題