Overview
This tutorial explains how to configure your CrashPlan environment to use single sign-on (SSO) with OneLogin. In this article, OneLogin is also referred to as an identity provider.
This article assumes you are already familiar with SSO and the SAML standard. For more information about how the CrashPlan platform implements SSO, see our Introduction to single sign-on .
Compatible CrashPlan platform components
- CrashPlan app for Windows, Mac, and Linux
- CrashPlan console
Considerations
Our technical support engineers can help with authentication issues caused by interaction with CrashPlan products. However, troubleshooting authentication issues outside your CrashPlan environment is beyond the scope of our technical support. For assistance with external authentication systems, contact your authentication vendor.
- To use this functionality, you must be assigned the Identity Management Administrator role.
- CrashPlan usernames must match SSO usernames. How you accomplish this depends on how you deploy CrashPlan apps.
- CrashPlan supports service provider-initiated SSO but does not support identity provider-initiated SSO. Therefore, users cannot sign in to your CrashPlan environment from the identity provider's website or application, but instead must log in using a browser bookmark.
- SSO provides user authentication but does not provide user management. Set up SCIM provisioning or use the CrashPlan console to manage users.
- CrashPlan does not support Single Logout (SLO). Users must sign out of the identity provider to end their single sign-on session.
- The CrashPlan console expects SAML assertions to be signed. To configure CrashPlan to support advanced SAML request configurations, see Set SAML attributes for SSO in CrashPlan.
Before you begin
- Make sure the SSL certificate of your SSO identity provider has been signed by a trusted Certificate Authority (CA).
- Make sure you have administrative access to the identity provider or have contact with an identity provider administrator.
- Configure your private network, Internet, and VPN settings to allow client devices to communicate with your identity provider on port 443. Test client connectivity to the identity provider before you proceed.
- If you want to use URL-based metadata exchange to configure CrashPlan and the identity provider to work together, make sure two-way communication is available between them on TCP port 443. If two-way communication is not available or not allowed, you must download the identity provider's metadata file and make it accessible to CrashPlan.
- Confirm the required ports with your identity provider to determine if custom ports are being used.
Determine whether you need to configure multiple CrashPlan tenants
Before you begin configuring SSO for CrashPlan, consider whether your company has more than one CrashPlan tenant that you need to connect to your SSO identity provider. Large companies and organizations often have separate, dedicated CrashPlan cloud instances (or "tenants") in use by different groups or departments.
If you have more than one CrashPlan tenant to connect to your SSO identity provider, you need to obtain an entity ID URL for each CrashPlan tenant. An entity ID is a unique string that identifies a specific tenant to your SSO identity provider. The tenant-specific entity ID URL is composed of the CrashPlan domain followed by the tenant ID, and can be found in the CrashPlan service provider metadata URL file in each tenant. For example:
"entityId": "https://example.com/42424daa-424c-4e42-42c4-c424242420d4"
Step 1: Determine the URLs for your CrashPlan environment
When you configure an identity provider to connect to CrashPlan, typically you must provide the CrashPlan server login URL, entity ID, and Assertion Consumer Service (ACS) URL. To obtain these values:
- Sign in to the CrashPlan console.
- Navigate to Administration > Integrations > Identity Management.
- Locate the CrashPlan service provider metadata URL:
- When setting up an authentication provider for the first time, the URL appears on the main screen:
- If you previously set up an authentication provider, the URL appears in the authentication provider details:
- When setting up an authentication provider for the first time, the URL appears on the main screen:
- The first portion of the URL is your CrashPlan server URL, for example, https://example.com. Record this URL for use later.
To determine the login URL, add /login to the end. For example, https://example.com/login. - Copy the CrashPlan service provider metadata URL and paste it in the address bar of a new browser window.
Your CrashPlan environment's metadata details appear.Metadata displays incorrectly in Safari
The Crashplan service provider metadata page will not load correctly in Apple's Safari browser. Paste the metadata URL into the address bar of an alternative browser to view the correct output before you continue.
- Find the entityID. Record this URL for use later.
- Find the AssertionConsumerService and its Location URL value, for example, Location="https://example.com/api/SsoAuthLoginResponse". Record this URL for use later.
Step 2: Prepare OneLogin
- Sign in to the OneLogin dashboard.
- Select Add Apps and search for CrashPlan.
- Add CrashPlan, and click Save.
- In the OneLogin Configuration tab, complete the fields with values you obtained in Step 1. For example:
-
SAML Consumer URL:
https://example.com/api/SsoAuthLoginResponse
-
Login URL:
https://example.com/api/SspAuthSPMetadata?registrationKey=42424242424242424242
Note that instead of the expected login URL, enter the CrashPlan Service Provider Metadata URL you obtained in Step 1.
-
SAML Consumer URL:
- Click Save.
- In the SSO tab, copy the value from the Issuer URL field, for example:
https://app.onelogin.com/saml/metadata/123456
This value is the Provider's Metadata URL you will paste in to the CrashPlan console in the next step.
SHA-256 -> under SSO tab. For security purposes
Step 3: Add OneLogin as an authentication provider in CrashPlan
- Sign in to the CrashPlan console.
- Navigate to Administration > Integrations > Identity Management.
- Click Add authentication provider.
The Add Authentication Provider dialog appears.
- In Display Name, enter an identity provider name to display to users who sign in with SSO.
If your CrashPlan environment provides more than one SSO identity provider, users see a list of providers to choose from. They must select the provider configured for their CrashPlan organization. - In Provider's Metadata, ensure that Enter URL is selected and paste the URL for the identity provider metadata XML file, or click Upload XML File and select the XML file for upload.
Custom domains are not supported
When entering the URL for the XML metadata file, custom domains are not supported. You must use the standard domain of your identity provider. - Click Create Provider.
Authentication provider settings appear.
Provider information message
Note the following message on the dialog:
This provider will not be applied to an organization until you update the organization security settings.
Do not apply this authentication provider to organizations yet. You will apply this provider to a test organization and to production organizations in later steps. - If you choose not to use default mapping, you can use Attribute Mapping to customize mappings between CrashPlan platform user attributes and authentication provider SSO assertion attributes.
- Click Edit .
- Deselect Use default mapping.
- Configure mapping settings for each CrashPlan platform user attribute.
Each field supports up to 128 characters.-
Username: Specify the identity provider's name ID or attribute that maps to the CrashPlan username.
- Select Use nameid to use the identity provider's name ID.
- Select Use attribute tag to enter a custom identity provider attribute.
- Email (Use nameid only): Enter the identity provider attribute that contains user email addresses.
- First Name: Enter the identity provider attribute that contains user first names.
- Last Name: Enter the identity provider attribute that contains user last names.
-
Username: Specify the identity provider's name ID or attribute that maps to the CrashPlan username.
- Click Save.
- (Optional) Local Users displays the current user. If there are any other users you want to exempt from using this authentication provider to log in, enter them here.
Step 4: Test SSO authentication
To avoid impacting your production environment, use a test organization to verify that SSO is working properly.
- Create a test user in your identity provider.
- Sign in to the CrashPlan console.
- Create a test organization.
- Create a user in the test organization who matches the identity provider test user.
- Configure the test organization to use SSO:
- Navigate to Administration > Integrations > Identity Management.
- Select the authentication provider.
- Click Edit next to Organizations in use.
- Select the test organization.
Note that you can also use an organization's settings to select an authentication provider to use for SSO. - Click Save.
- In the upper-right of the CrashPlan console, select Account > Sign Out.
- Sign back in to the CrashPlan console as the test user to verify that SSO is working.
Step 5: Configure organizations to use SSO
- Sign in to the CrashPlan console.
- Navigate to Administration > Integrations > Identity Management.
- Select the authentication provider.
- Click Edit next to Organizations in use.
- Select organizations to use the authentication provider for SSO.
If applicable, select Inherits settings to identify whether an organization inherits the setting from its parent organization. To enable SSO for all organizations, select the top-most organization. (Note that you can also use an organization's settings to select an authentication provider to use for SSO.) - Click Save.
Step 6: Add new users that sign in with SSO
Option A: Add users in the CrashPlan console
Use the CrashPlan console to add users to an organization that uses SSO.
- Verify that the users in the organization exist in the SSO identity provider used by the organization.
- Make sure that the CrashPlan environment usernames match the SSO usernames.
Option B: Deploy the CrashPlan app
Distribute the CrashPlan app to new users.
- New user accounts created with silent SSO registration are created automatically in CrashPlan.
- New user accounts created with manual registration requires new users to register in the CrashPlan environment. Users choose Sign up for an account when they open the CrashPlan app and they create an account using their SSO credentials. (The CrashPlan app username must match the SSO username.)
What to expect
Reduced authentication prompts
When users sign in with SSO, they do not need to re-enter credentials for subsequent authentication attempts until the SAML authentication token expires. A SAML token applies to an application rather than a device, which means that a user might need to enter credentials again when signing into a different app.
For example, the single sign-in process differs whether users sign in to the CrashPlan console or the CrashPlan app:
- CrashPlan console: When users sign in to the CrashPlan console, they are redirected in the web browser to sign in to their SSO identity provider. As soon as they sign in to their identity provider, the CrashPlan console launches.
- CrashPlan app: When users sign in to the CrashPlan app, following message appears: "To complete the sign in process, go to your web browser. This screen updates automatically once login is successful." A web browser window is automatically opened so they can complete the sign-in process in their SSO identity provider. As soon as they sign in to their SSO identity provider in the provided web browser window, the CrashPlan app launches.
Losing access to an identity provider
If a user loses access to the identity provider, the CrashPlan app continues to back up, uninterrupted.
External resources
- Wikipedia:
- OneLogin