Invalid_grant while using refresh_token

22 views
Skip to first unread message

Remuwon Joshua

unread,
Oct 29, 2015, 2:48:07 AM10/29/15
to KoBo Developers
Hello, I've been stuck  on this problem and can't seem to figure it out. My application successfully gets a grant, access and refresh token when integrating to a users account. The problem comes when the access_token expires and I try t refresh it using the refresh token; I always end up with a json response {'error':'invalid_grant'}. When trying to refresh the access_token I pass the client_id, client_secret, refresh_token and redirect_url as part of the request params. Am I missig anything?

Remuwon Joshua

unread,
Oct 29, 2015, 2:53:28 AM10/29/15
to KoBo Developers
Just to add I also pass 'grant_type' : 'refresh_token'

Remuwon Joshua

unread,
Oct 29, 2015, 2:56:58 AM10/29/15
to KoBo Developers
As per the as per the aouth2 RFC that seems all that's required
Any help would be appreciated.
Reply all
Reply to author
Forward
0 new messages