client_id 和 client_secret 对于 grant_type='authorization_code' . 这似乎不是我的代码的问题,因为是谷歌需要发送这些参数。Google正在为之前的GET请求发送这些参数!
client_id
client_secret
grant_type='authorization_code'
https://developers.google.com/actions/identity/google-sign-in-oauth?oauth=code#actionsdk
直到以下部分:交换访问令牌的授权代码和刷新令牌,流才能正常工作。在这里,我收到了POST请求,但是请求主体不包含所需的 客户id 和 客户机密 我收到以下请求。body
客户id
客户机密
{ grant_type: 'authorization_code', code: 'ab09286808993bbfcd8fdd8049e9a40256ab5ec64de076f3cca.............c', redirect_uri: 'https://oauth-redirect.googleusercontent.com/r/roo-fire' }
请帮助我了解出了什么问题!
---根据Google上Actions的comment-adding Account Linking部分编辑---
https://drive.google.com/open?id=1e_HCjX8aDvhDnXh8qzGG_Ly3rUEkpOkB