0

我设置我的/oauth/token端点并在客户端应用程序中开始帐户链接。使用以下/oauth参数调用端点:

{"response_type":"code","client_id":"<clientid>","redirect_uri":"https://oauth-redirect.googleusercontent.com/r/<myproject>", "state":"<state>"}

创建 authcode 并响应重定向到:

https://oauth-redirect.googleusercontent.com/r/xxxxxx?code=<authcode>&state=<state>

我希望调用 /token 端点,但我收到了一个 GET 请求:

/r/xxxxxx?code=<authcode>&state=<state>

出了什么问题?

4

1 回答 1

0

It turned out to be a configuration issue with my reverse proxy which was rewriting redirects. My actions are running fine now.

于 2018-04-14T09:56:35.703 回答