Skip to content

Commit

Permalink
chore: Add discord oauth
Browse files Browse the repository at this point in the history
  • Loading branch information
frascuchon committed Nov 13, 2024
1 parent 4d69126 commit ac23249
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

import httpx
from oauthlib.oauth2 import WebApplicationClient
from social_core.backends.discord import DiscordOAuth2
from social_core.backends.github import GithubOAuth2, GithubOrganizationOAuth2, GithubTeamOAuth2
from social_core.backends.github_enterprise import (
GithubEnterpriseOAuth2,
Expand Down Expand Up @@ -227,6 +228,7 @@ class HuggingfaceOpenId(OpenIdConnectAuth):
GithubEnterpriseTeamOAuth2,
GithubOrganizationOAuth2,
GithubEnterpriseOrganizationOAuth2,
DiscordOAuth2,
]

SUPPORTED_BACKENDS = {backend.name: backend for backend in _BACKENDS}
Expand Down

0 comments on commit ac23249

Please sign in to comment.