diff --git a/workos/types/sso/connection.py b/workos/types/sso/connection.py index 1bd86957..ca10908f 100644 --- a/workos/types/sso/connection.py +++ b/workos/types/sso/connection.py @@ -37,6 +37,7 @@ "PingFederateSAML", "PingOneSAML", "RipplingSAML", + "SalesforceOAuth", "SalesforceSAML", "ShibbolethGenericSAML", "ShibbolethSAML", diff --git a/workos/types/sso/sso_provider_type.py b/workos/types/sso/sso_provider_type.py index dc7b4845..aba5d45d 100644 --- a/workos/types/sso/sso_provider_type.py +++ b/workos/types/sso/sso_provider_type.py @@ -6,4 +6,5 @@ "GitHubOAuth", "GoogleOAuth", "MicrosoftOAuth", + "SalesforceOAuth", ] diff --git a/workos/types/user_management/authentication_response.py b/workos/types/user_management/authentication_response.py index 2fdab1b0..ab3ce848 100644 --- a/workos/types/user_management/authentication_response.py +++ b/workos/types/user_management/authentication_response.py @@ -13,6 +13,7 @@ "GitHubOAuth", "GoogleOAuth", "MicrosoftOAuth", + "SalesforceOAuth", "MagicAuth", "Impersonation", ] diff --git a/workos/types/user_management/oauth_tokens.py b/workos/types/user_management/oauth_tokens.py index 8b3a5737..14b07a5c 100644 --- a/workos/types/user_management/oauth_tokens.py +++ b/workos/types/user_management/oauth_tokens.py @@ -7,6 +7,7 @@ "GitHubOauth", "GoogleOauth", "MicrosoftOauth", + "SalesforceOauth", ] diff --git a/workos/types/user_management/user_management_provider_type.py b/workos/types/user_management/user_management_provider_type.py index 6451221b..efb147dd 100644 --- a/workos/types/user_management/user_management_provider_type.py +++ b/workos/types/user_management/user_management_provider_type.py @@ -2,5 +2,10 @@ UserManagementProviderType = Literal[ - "authkit", "AppleOAuth", "GitHubOAuth", "GoogleOAuth", "MicrosoftOAuth" + "authkit", + "AppleOAuth", + "GitHubOAuth", + "GoogleOAuth", + "MicrosoftOAuth", + "SalesforceOAuth", ] diff --git a/workos/user_management.py b/workos/user_management.py index 85b8eeb2..5c7640d0 100644 --- a/workos/user_management.py +++ b/workos/user_management.py @@ -396,7 +396,7 @@ def get_authorization_url( organization_id (str): The organization_id connection selector is used to initiate SSO for an Organization. The value of this parameter should be a WorkOS Organization ID. (Optional) provider (UserManagementProviderType): The provider connection selector is used to initiate SSO using an OAuth-compatible provider. - Currently, the supported values for provider are 'authkit', 'AppleOAuth', 'GitHubOAuth, 'GoogleOAuth', and 'MicrosoftOAuth'. (Optional) + Currently, the supported values for provider are 'authkit', 'AppleOAuth', 'GitHubOAuth, 'GoogleOAuth', 'MicrosoftOAuth', and 'SalesforceOAuth'. (Optional) provider_scopes (Sequence[str]): Can be used to specify additional scopes that will be requested when initiating SSO using an OAuth provider. (Optional) domain_hint (str): Can be used to pre-fill the domain field when initiating authentication with Microsoft OAuth, or with a GoogleSAML connection type. (Optional)