From 965d07e75eda2da457804a8ac1904cc984ffefba Mon Sep 17 00:00:00 2001 From: Adam Renberg Tamm Date: Fri, 24 Apr 2026 09:05:24 +0200 Subject: [PATCH 1/2] List Slack as an auth provider for the authorization URL --- .../models/user_management_authentication_provider.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/workos/user_management/models/user_management_authentication_provider.py b/src/workos/user_management/models/user_management_authentication_provider.py index 02f6e901..2ea5635a 100644 --- a/src/workos/user_management/models/user_management_authentication_provider.py +++ b/src/workos/user_management/models/user_management_authentication_provider.py @@ -17,6 +17,7 @@ class UserManagementAuthenticationProvider(str, Enum): GIT_HUB_OAUTH = "GitHubOAuth" GOOGLE_OAUTH = "GoogleOAuth" MICROSOFT_OAUTH = "MicrosoftOAuth" + SLACK_OAUTH = "SlackOAuth" @classmethod def _missing_( @@ -31,5 +32,5 @@ def _missing_( UserManagementAuthenticationProviderLiteral: TypeAlias = Literal[ - "authkit", "AppleOAuth", "GitHubOAuth", "GoogleOAuth", "MicrosoftOAuth" + "authkit", "AppleOAuth", "GitHubOAuth", "GoogleOAuth", "MicrosoftOAuth", "SlackOAuth" ] From decd46ca64b0460ee624c3ff6603cf22ceb2c841 Mon Sep 17 00:00:00 2001 From: "Garen J. Torikian" Date: Fri, 24 Apr 2026 14:35:11 -0400 Subject: [PATCH 2/2] update with full list --- src/workos/sso/models/sso_provider.py | 25 ++++++++++++++++- ...user_management_authentication_provider.py | 28 +++++++++++++++++-- 2 files changed, 49 insertions(+), 4 deletions(-) diff --git a/src/workos/sso/models/sso_provider.py b/src/workos/sso/models/sso_provider.py index 218ffb60..2e836c2e 100644 --- a/src/workos/sso/models/sso_provider.py +++ b/src/workos/sso/models/sso_provider.py @@ -13,9 +13,19 @@ class SSOProvider(str, Enum): """Known values for SSOProvider.""" APPLE_OAUTH = "AppleOAuth" + BITBUCKET_OAUTH = "BitbucketOAuth" + DISCORD_OAUTH = "DiscordOAuth" GIT_HUB_OAUTH = "GitHubOAuth" + GIT_LAB_OAUTH = "GitLabOAuth" GOOGLE_OAUTH = "GoogleOAuth" + INTUIT_OAUTH = "IntuitOAuth" + LINKED_IN_OAUTH = "LinkedInOAuth" MICROSOFT_OAUTH = "MicrosoftOAuth" + SALESFORCE_OAUTH = "SalesforceOAuth" + SLACK_OAUTH = "SlackOAuth" + VERCEL_MARKETPLACE_OAUTH = "VercelMarketplaceOAuth" + VERCEL_OAUTH = "VercelOAuth" + XERO_OAUTH = "XeroOAuth" @classmethod def _missing_(cls, value: object) -> Optional["SSOProvider"]: @@ -28,5 +38,18 @@ def _missing_(cls, value: object) -> Optional["SSOProvider"]: SSOProviderLiteral: TypeAlias = Literal[ - "AppleOAuth", "GitHubOAuth", "GoogleOAuth", "MicrosoftOAuth" + "AppleOAuth", + "BitbucketOAuth", + "DiscordOAuth", + "GitHubOAuth", + "GitLabOAuth", + "GoogleOAuth", + "IntuitOAuth", + "LinkedInOAuth", + "MicrosoftOAuth", + "SalesforceOAuth", + "SlackOAuth", + "VercelMarketplaceOAuth", + "VercelOAuth", + "XeroOAuth", ] diff --git a/src/workos/user_management/models/user_management_authentication_provider.py b/src/workos/user_management/models/user_management_authentication_provider.py index 2ea5635a..80b1f715 100644 --- a/src/workos/user_management/models/user_management_authentication_provider.py +++ b/src/workos/user_management/models/user_management_authentication_provider.py @@ -5,8 +5,7 @@ from __future__ import annotations from enum import Enum -from typing import Optional -from typing import Literal, TypeAlias +from typing import Literal, Optional, TypeAlias class UserManagementAuthenticationProvider(str, Enum): @@ -14,10 +13,19 @@ class UserManagementAuthenticationProvider(str, Enum): AUTHKIT = "authkit" APPLE_OAUTH = "AppleOAuth" + BITBUCKET_OAUTH = "BitbucketOAuth" + DISCORD_OAUTH = "DiscordOAuth" GIT_HUB_OAUTH = "GitHubOAuth" + GIT_LAB_OAUTH = "GitLabOAuth" GOOGLE_OAUTH = "GoogleOAuth" + INTUIT_OAUTH = "IntuitOAuth" + LINKED_IN_OAUTH = "LinkedInOAuth" MICROSOFT_OAUTH = "MicrosoftOAuth" + SALESFORCE_OAUTH = "SalesforceOAuth" SLACK_OAUTH = "SlackOAuth" + VERCEL_MARKETPLACE_OAUTH = "VercelMarketplaceOAuth" + VERCEL_OAUTH = "VercelOAuth" + XERO_OAUTH = "XeroOAuth" @classmethod def _missing_( @@ -32,5 +40,19 @@ def _missing_( UserManagementAuthenticationProviderLiteral: TypeAlias = Literal[ - "authkit", "AppleOAuth", "GitHubOAuth", "GoogleOAuth", "MicrosoftOAuth", "SlackOAuth" + "authkit", + "AppleOAuth", + "BitbucketOAuth", + "DiscordOAuth", + "GitHubOAuth", + "GitLabOAuth", + "GoogleOAuth", + "IntuitOAuth", + "LinkedInOAuth", + "MicrosoftOAuth", + "SalesforceOAuth", + "SlackOAuth", + "VercelMarketplaceOAuth", + "VercelOAuth", + "XeroOAuth", ]