Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OAuth Gen for discord oauth #6

Closed
LawMixer opened this issue May 20, 2023 · 1 comment
Closed

Add OAuth Gen for discord oauth #6

LawMixer opened this issue May 20, 2023 · 1 comment

Comments

@LawMixer
Copy link

I feel like this is needed for more readability then anything else.

treeben77 added a commit that referenced this issue May 23, 2023
@treeben77
Copy link
Owner

I've added Client.generate_uri. It works almost identically to rblx-open-cloud's OAuth2App.generate_uri, with a few changes:

  • generate_code param was replaced with response_type, and accepts Literal["code", "token"] instead of a bool.
  • The following parameters have been added: guild_id, disable_guild_select, and permissions

It should be added to pip in a few moments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants