File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ export function SalesforceOauthExtraConfig({
100
100
message = {
101
101
isPkceError
102
102
?
"Error loading Salesforce OAuth credentials. Check if your url is correct and try again or contact us at [email protected] ."
103
- : "Must be a valid Salesforce domain in https and ending with .salesforce.com or .force.com "
103
+ : "Must be a valid Salesforce domain in https and ending with .salesforce.com"
104
104
}
105
105
name = "instance_url"
106
106
value = { extraConfig . instance_url ?? "" }
Original file line number Diff line number Diff line change @@ -153,9 +153,6 @@ const config = {
153
153
getOAuthZendeskClientId : ( ) : string => {
154
154
return EnvironmentConfig . getEnvVariable ( "OAUTH_ZENDESK_CLIENT_ID" ) ;
155
155
} ,
156
- getOAuthSalesforceClientId : ( ) : string => {
157
- return EnvironmentConfig . getEnvVariable ( "OAUTH_SALESFORCE_CLIENT_ID" ) ;
158
- } ,
159
156
// Text extraction.
160
157
getTextExtractionUrl : ( ) : string => {
161
158
return EnvironmentConfig . getEnvVariable ( "TEXT_EXTRACTION_URL" ) ;
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export function isValidSalesforceDomain(s: unknown): s is string {
63
63
return (
64
64
typeof s === "string" &&
65
65
s . startsWith ( "https://" ) &&
66
- ( s . endsWith ( ".salesforce.com" ) || s . endsWith ( ".force.com" ) )
66
+ s . endsWith ( ".salesforce.com" )
67
67
) ;
68
68
}
69
69
You can’t perform that action at this time.
0 commit comments