1

Is it possible to revoke:

  1. Access tokens;
  2. Refresh tokens;

using the Podio-js library?

rabbitco
  • 2,790
  • 3
  • 16
  • 38

2 Answers2

2

You can invalidate the current user access_token using the Invalidate Tokens endpoint.
The access token can still be refreshed using the refresh_token

var PodioJS = require('podio-js');
PodioJS.request('POST', '/oauth/token/invalidate', {});

Using the Invalidate Grant endpoint instead invalidate both tokens, which means that the user is effectively logged out.

var PodioJS = require('podio-js');
PodioJS.request('POST', '/oauth/grant/invalidate', {});
domokun
  • 3,013
  • 3
  • 29
  • 55
0

Hope you can find a solution here.

Mûhámmàd Yäsår K
  • 1,492
  • 11
  • 24