Configure SSO for Salesforce - Configure SSO for Salesforce - Alfresco - Alfresco Content Connector for Salesforce - Alfresco/Alfresco-Content-Connector-for-Salesforce/2.2/Alfresco-Content-Connector-for-Salesforce/Alfresco-Content-Connector-for-Salesforce/Configure-Salesforce-Connector/Configure-SSO-for-Salesforce - 2.2

Alfresco Content Connector for Salesforce

Platform
Alfresco
Product
Alfresco Content Connector for Salesforce
Release
2.2
ft:lastPublication
2026-05-06T14:47:37.961551
ft:locale
en-US
ArchiveStatus
Archived

To configure Single Sign On (SSO) for use with Salesforce you must create a new authentication provider in Salesforce, create a Salesforce domain, configure a Custom Logout URL for Salesforce, and update the Apex Code.

Ensure you have the prerequisites installed and configured first, and have also configured SSO in Alfresco products.

  1. To create an authentication provider, navigate to Salesforce and log in as an Administrator.

  2. Go to Setup Tab > Identity > Auth. Providers and click New.

  3. Select OpenID Connect from the Provider Type drop down list.

    The table represents the fields on the Auth. Provider Edit window.

Auth. Provider create fields Value/Description
Provider Type OpenID Connect
Name Enter a name for the authentication service.
URL Suffix Automatically filled in based on the name you enter.
Consumer Key To find this key go to Identity Service > Alfresco Realm > Clients and the client ID you have configured for Alfresco Content Services. The key is usually alfresco.
Consumer Secret 1. Go to the Identity Service > Alfresco Realm > Realm Settings > Keys Tab.
2. Click Public key next to the algorithm that has one.
3. Copy and paste the key.
Authorize Endpoint URL 1. Go to the Identity Service > Alfresco Realm > Realm Settings.
2. Click the link in the Endpoints field.
3. Copy and paste the JSON output into a reader to make it more readable.
4. Find the value for authorization_endpoint.
5. Copy and paste the value.

Note: Keep the JSON file because it will be used to find other URLs for other fields.
Token Endpoint URL 1. Find the value for token_endpoint in the JSON file.
2. Copy and paste the value.
User Info Endpoint URL 1. Find the value for userinfo_endpoint in the JSON file.
2. Copy and paste the value.
Token Issuer 1. Find the value for issuer in the JSON file.
2. Copy and paste the value.
Default Scopes OpenID email

Note: See Use the Scope URL Parameter for more on the use of OpenID.
Send access token in header Selected
Send client credentials in header Not Selected
Include Consumer Secret in API Responses Selected
Custom Error URL Leave Empty
Custom Logout URL Leave Empty

Note: The Custom Logout URL will be configured later on in the configuration steps.
Registration Handler Select an existing Registration Handler for your provider or click Automatically create a registration handler template.

Note: Creating a template will require modification by your Salesforce team for it to work for your use case and provider.
Execute Registration As Select an Admin user.
Portal None
Icon URL Optional. Enter a URL where an image can be found.
  1. Enter your information in the fields and click Save.

  2. To create your domain go back to Setup Tab > Company Settings > My Domain.

  3. Enter the name of the domain you want to use and click Check Availability.

  4. Click Register Domain if it's available.

    You will see a notice that tells you the domain is registering. This process may take 60 minutes.

  5. Once the domain is registered you can test it. Use the Login button to log in and test the domain.

  6. Click Deploy to Users to deploy your domain.

  7. Click Edit under the Authentication Configuration heading.

  8. Select the Auth. Provider service you have created under the Authentication Service heading and click Save.

  9. To add your Custom Logout URL copy your domain name as it appears next to Your domain name is.

  10. Go back to Setup Tab > Identity > Auth. Providers and edit the authentication provider you created earlier.

  11. Paste your domain URL into the Custom Logout URL field.

  12. Navigate to the JSON file you used earlier and find the value of end_session_endpoint and also paste it into the Custom Logout URL field.

  13. Add ?redirect_uri= between your domain URL and the end_session_endpoint value and click Save.

    It should take the form of end_session_endpoint?redirect_uri=<Your domain>.