gotosocial icon indicating copy to clipboard operation
gotosocial copied to clipboard

[feature] `POST /oauth/revoke` endpoint

Open lindsayzhou opened this issue 2 years ago • 1 comments

Is your feature request related to a problem ?

Need a way to revoke the authorized token.

Describe the solution you'd like.

Implement /oauth/revoke endpoint, which takes client_id, client_secret, token as post json body, reponses 200 or 403 status code.

Ref: oauth - Mastodon documentation

Describe alternatives you've considered.

NONE

Additional context.

No response

lindsayzhou avatar Nov 19 '22 16:11 lindsayzhou

Yup, we're aware of it, just not implemented yet.

tsmethurst avatar Nov 19 '22 17:11 tsmethurst