Hey all,
For the last couple of hours I’ve been setting up the twitter oauth2 code flow for my app, all is going well, except the ability to invalidate a token.
The error I’m seeing is: “Client application is not permitted to invalidate this token”.
Any help is greatly appreciated.
Welcome to the community
ah I haven’t tried this end point, I’ll let you know if I experience the same thing or even a solution
Hey, Thank you.
I’m seeing a new error now:
“”{“error”:“invalid_request”,“error_description”:“Missing required parameter [token_type_hint].”}""
Doc: OAuth 2.0 Making requests on behalf of users | Docs | Twitter Developer Platform - revoke a token.
I’m just looking for my app user to be able to “disconnect/revoke” access.
Ok all, this is not in the docs, and was frustrating!
When using the revoke method from this page (OAuth 2.0 Making requests on behalf of users | Docs | Twitter Developer Platform), add a param of:
{ “token_type_hint”, “access_token” }