2012-02-15 40 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

相关问题