在社交表API上刷新令牌

时间:2016-10-20 03:44:23

标签: social-tables

当我尝试刷新访问令牌时,收到此消息:

  

“此client_id的授权类型未经授权”

我是否需要自定义权限才能刷新访问令牌?

1 个答案:

答案 0 :(得分:1)

Thanks for using our API.

So... unfortunately even though you do get a refresh token back from the server when you get the initial authorization code, by default at this point we do not enable the refresh_token grant type for third party apps. We are working on this and I have created a ticket in our system to enable that.

In the mean time as a workaround you can repeat the initial Oauth flow to get a new Bearer token when the current one expires. To your user this should be somewhat transparent as they will not have to give permission again to the app, it should just redirect them through that screen.

Sorry for any inconvenience this causes. I will comment here when refresh tokens grants are being enabled for new apps.