1
我正在尝试使用mvn jetty:run命令设置Google Glass Java Mirror API快速入门项目。我遵循了Google开发者网站中给出的说明和视频中的说明:https://www.youtube.com/watch?v=w0WxkIEPJeQ。我跟着两个信(或尽可能接近,因为我可以),并不管我做什么,我不断地在本地主机以下错误:8080:Google glass OAuth无效客户端
Error: invalid_client
The OAuth client was not found.
Request Details
cookie_policy_enforce=false
response_type=code
scope=https://www.googleapis.com/auth/glass.timeline https://www.googleapis.com/auth/glass.location https://www.googleapis.com/auth/userinfo.profile
access_type=offline
redirect_uri=http://localhost:8080/oauth2callback
approval_prompt=force
client_id=375625213438.apps.googleusercontent.com
client_secret=dhMaV4y5Mo7Ay5LGZ_utIBH_
我不知道是什么原因造成这一点;我根本没有太多有关OAuth2的经验,所以我们非常欢迎任何帮助。
我试过你的客户端ID,并得到Error:disabled_client。 OAuth客户端已被禁用。 当我与我的客户尝试时,它工作。所以你的客户有什么问题。 检查开发人员控制台中的项目设置或注册另一个项目并再次尝试。 –