invalid_client找不到 OAuth 客户端错误



如果我只想用goolge启用Oauth,我需要为此启用api吗?如果我做我需要哪些,我只想能够使用 oauth2 的直通身份验证,我已经研究了几个小时的问题,试图找到此错误的解决方案。唯一看起来不太正确的是,完整的client_id没有显示在错误中,网址有点长。

401. That’s an error.

错误:invalid_client

找不到 OAuth 客户端。请求详细信息

response_type=code
redirect_uri=http://localhost:8080/auth/google/callback
scope=profile email
client_id= 404342589460-ig7nuv617skbfaestvsc1jrpqtnipvv2.apps.googleuserconte

不需要启用 API。从 Google 网页界面复制值后,请移除客户端 ID 和密钥开头和结尾的空格

相关内容

最新更新