Closed AlbertHambardzumyan closed 4 years ago
@AlbertHambardzumyan : The revoke()
does not return the JSON. I will fix this and release a new version.
However, in the meantime you could see the status of the revoke() using :
authResponse.response.status
@abisalehalliprasan
I just need token itself, no need the response status at all.
Turns out the response of revoke()
call is the token I'm looking for.
So, I would say the documentation describes this api wrongly.
Welcome any PR's. I will also get this fixed in the new release. Thanks @AlbertHambardzumyan
According to Revoke access_token documentation I should be able to call
getJson()
on the response:However, Im getting the following error:
Error: AuthResponse is not JSON
Any thoughts ?