discord.py icon indicating copy to clipboard operation
discord.py copied to clipboard

Discord OAuth2

Open LopahLopah opened this issue 2 years ago • 3 comments
trafficstars

Summary

Add Discord OAuth2, example: refresh access token, exchange code, add to guild and many more things of oauth2.

What is the feature request for?

The core library

The Problem

Library Doesn't Have OAuth2 Things.

The Ideal Solution

Add OAuth2 Things.

The Current Solution

No response

Additional Context

No response

LopahLopah avatar Mar 21 '23 14:03 LopahLopah

Kindly Add It Soon As Possible. They're Are Many API Wrappers For OAuth2, like disco.oauth2, but i want it to implemented in discord.py

LopahLopah avatar Mar 21 '23 14:03 LopahLopah

Discord.py does not and (as far as I know) has no plans to support OAuth2.

AbstractUmbra avatar Mar 21 '23 16:03 AbstractUmbra

It really doesn't make sense to use a discord specific library for Oauth, especially when one of the core uses of Ouath with discord would be to get a user to connect to multiple different Oauth providers to prove a connection not directly supported by discord.

Consider using a well-reviewed option like oauthlib which handles oauth in general, not just for a specific service instead.

mikeshardmind avatar Mar 21 '23 21:03 mikeshardmind