Now we have a ipad iOS app that’s presently being constructed from Azure DevOps. The app has "Select Connection" display(SS display) that selects the URL that its going to hit or load after which authenticate by consumer. There are multi choices within the URL’s outlined in servers. xml(SS under). I want so as to add a brand new URL to hit login.salesforce.com with label Prod_non_sso.
The related fields from the information are proven under. If something extra is required I can share.
That is prepareEnvironment.js
// Put together Information.plist
execSync(`/usr/libexec/PlistBuddy -c 'Set :SFDCOAuthLoginHost ${servers[environment]}' ${plist}`);
// Put together bootconfig.plist
execSync(`/usr/libexec/PlistBuddy -c 'Set :oauthRedirectURI https://${servers[environment]}/companies/oauth2/success' ${bootConfigPlist}`);
That is Information.plist
<key>SFDCOAuthLoginHost</key>
<string>take a look at.salesforce.com</string>
That is the yaml related part
parameters:
- identify: surroundings
displayName: 'Which surroundings to deploy to'
sort: string
default: SANDBOX
values:
- SANDBOX
- PROD
- DEV
- SHARED_QA
- GO_LIVE
- 1LOCAL_QA_SP7
- PREPROD
- PROD_NON_SSO
PARAM_ENVIRONMENT_VALUE="${{ parameters.surroundings }}"
That is the error that comes up




