Skip to content

Commit 8760db5

Browse files
committed
remove blacklist enums
1 parent f9fadca commit 8760db5

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

appwrite/enums/o_auth_provider.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,3 @@ class OAuthProvider(Enum):
4040
YANDEX = "yandex"
4141
ZOHO = "zoho"
4242
ZOOM = "zoom"
43-
GITHUBIMAGINE = "githubImagine"
44-
GOOGLEIMAGINE = "googleImagine"

appwrite/services/account.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ def create_o_auth2_token(self, provider: OAuthProvider, success: Optional[str] =
12281228
Parameters
12291229
----------
12301230
provider : OAuthProvider
1231-
OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom, githubImagine, googleImagine.
1231+
OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.
12321232
success : Optional[str]
12331233
URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https://cheatsheetseries.owasp.org/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.
12341234
failure : Optional[str]

0 commit comments

Comments
 (0)