我遇到了与google身份验证相关的问题。 我按照教程,最终设法到达谷歌网站,我可以选择一个帐户部分。然后我选择一个并重定向到本地地址:https://localhost:44377/signin-google?state ...
但我得到: 处理请求时发生未处理的异常。
Exception: OAuth token endpoint failure: Status: Unauthorized;Headers: Cache-Control: max-age=0, private Date: Sat, 10 Feb 2018 22:14:21 GMT Transfer-Encoding: chunked Accept-Ranges: none Server: GSE Vary: X-Origin, Origin, Accept-Encoding WWW-Authenticate: Bearer realm="https://accounts.google.com/" X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block Alt-Svc: hq=":443"; ma=2592000; quic=51303431; quic=51303339; quic=51303338; quic=51303337; quic=51303335,quic=":443"; ma=2592000; v="41,39,38,37,35" ;Body: { "error": "invalid_client", "error_description": "Unauthorized" } ; Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler+d__12.MoveNext()
任何帮助调查这一点都会非常有帮助。