weibeu / Flask-Discord

Discord OAuth2 extension for Flask. An Easier implementation of "Log In With Discord".
https://flask-discord.readthedocs.io/en/latest/
MIT License
182 stars 47 forks source link

Revoke Oauth connection #75

Open Vyvy-vi opened 8 months ago

Vyvy-vi commented 8 months ago

The revoke method of DiscordOAuth2Session doesn't revoke the Oauth access, i.e. the user's discord connections screen will still show the oauth app even if revoke is called. https://github.com/weibeu/Flask-Discord/blob/e5bda937d70ad35d30b0c7034151ed76cebf6bfc/flask_discord/client.py#L161-L175

Token Revocation can be done by making a request to - https://discord.com/api/oauth2/token/revoke

I'm interested in contributing to this fix.

dosubot[bot] commented 5 days ago

Hi, @Vyvy-vi. I'm Dosu, and I'm helping the Flask-Discord team manage their backlog. I'm marking this issue as stale.

Issue Summary:

Next Steps:

Thank you for your understanding and contribution!