Question:
How can a User Log in With SAML And OAuth2.0 Authentication on The Veeva CRM App using Custom Domain?
Answer:
If users are required to log in with SAML and OAuth2.0 authentication on the Veeva CRM app, there are a couple ways to log in with this method. Users will be able to use their Identity Provider MFA when logging in as well.
Confirm Org Setup:
- Confirm the type of SSO authentication users will plan to use.
- For OAuth2.0, confirm the setup with the Authentication Provider record (Setup --> Administration Setup --> Security Controls --> Auth Provider).
- For SAML, confirm the SAML setup on the Single Sign-On Settings page (Setup --> Administration Setup --> Security Controls --> Single Sign-On Settings --> locate record under the SAML Single Sign-On Settings).
- Find the Setup for SAML or OAuth2.0 Authentication and ensure that this setup is added as an Authentication Service in My Domain.
- Access the My Domain Page (Setup --> Company Settings --> My Domain --> Current My Domain URL).
- Select Edit on the Authentication Configuration section.
- Add the names of the Authentication Provider for OAuth 2.0, or SAML configuration name for SAML.
-
Save the Authentication Configuration.
- If users are planning on using "Use Custom Domain" login on the Veeva CRM App, confirm the Veeva CRM Apps Connected App is installed on the Connected Apps page in the org (Setup --> Administration Setup --> Manage Apps --> Connected Apps).
- Ensure all users that are intended to use the "Use Custom Domain" login have access to use the Veeva CRM App Connected App. Please note that this will apply for the CRM Desktop app as well.
- If you are not using Custom Domain for OAuth2.0 Authentication, please find this article on how to set this up with your MDM: Deploying Veeva CRM on iOS with OAuth 2.0 Support (MDM/MAM)
App Login Steps
-
Open the Veeva CRM application. Select "Production" or "Sandbox" depending on what org the user is located in.
-
Select "Use Custom Domain" button and input the custom domain URL for the org.
-
A pop-up page will appear. Scroll down in the page and select the "Log in with [SSO Setup Name]" button. If admins removed the "Login Form" option from My Domain page, then the SAML or OAuth2.0 prompt will appear instead of the Salesforce login page.
-
Input the user's SSO credentials.
- MFA prompt for either your Identity provider, or Salesforce (if configured), will display. Perform the necessary action for the MFA prompt.
- Accept/Allow the connection for "Veeva CRM Apps" Connected app, if applicable.
Alternate App Login Steps:
-
Select Login on the Veeva CRM app page.
-
Select "Use Custom Domain" here.
-
Input the Custom Domain and select "Continue".
- Select the necessary "Log in with [SSO Setup Name]" button. Input the user's SSO credentials.
- MFA prompt for either your Identity provider, or Salesforce (if configured), will display. Perform the necessary action for the MFA prompt.
Related Documentation:
Veeva CRM Help Documentation: