2013-04-04 46 views
0

我想通過谷歌選項在本地主機上運行的Web應用程序中添加登錄。 但我收到此錯誤:登錄使用谷歌使用java

HTTP/1.1 400 Bad Request [Cache-Control: no-cache, no-store, max-age=0, 
must-revalidate, Pragma: no-cache, Expires: Fri, 01 Jan 1990 00:00:00 GMT, 
Date: Thu, 04 Apr 2013 09:24:47 GMT, Content-Type: application/json, 
X-Content-Type-Options: nosniff, X-Frame-Options: SAMEORIGIN, 
X-XSS-Protection: 1; mode=block, Server: GSE, Transfer-Encoding: chunked] 

我的請求URL是:

https://accounts.google.com/o/oauth2/token?code%3D4%2Fu0R2AnFEfP8VDMIZSoVDNfSKGAPV.4vVN7R0VBtsbgrKXntQAax3e3D2oewI%26client_id%3D422021735554.apps.googleusercontent.com%26client_secret%3DNjqGvrdMuayzGlbUr65lgUyF%26redirect_uri%3Dhttp%3A%2F%2Flocalhost%3A8081%2FLoginExample%2Fg-login%26grant_type%3Dauthorization_code

我不知道是什麼問題。請幫忙。如果你想充分利用代碼在您的網站谷歌看到下面的鏈接登錄

回答