This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Single sign-on (SSO)

Single sign-on configuration

Single sign-on (SSO) is a way of allowing multiple applications to use the same authentication credentials. This avoids duplicating credential entry, with the possibility of mistakes, and also means that there are fewer credentials to be lost or stolen. There is a separate page with the advantages and disadvantages of using either SSO or the LCD website for authentication.

LCD can use SSO with OpenID, SAML with Azure, SAML with Windows Server or SAML with Okta.

1 - Initial SAML setup

You need your LCD account key to configure SAML integration with LCD.

Note

The account key was provided by the ITC engineer when your account was first created. It should not contain any dashes or spaces. For example, 123456789ABCDEFGHIJK

Basic SAML configuration

The SAML configuration consists of an identifier and reply URL, as in the following example from Azure Active Directory.

Screenshot of the LCD website’s SAML configuration screen.

Screenshot of the LCD website’s SAML configuration screen.

Identifier (Entity ID)

The application-defined unique identifier that is the intended audience of the SAML assertion. For example, you can use LCD.

Audience or Reply URL

The location where the SAML assertion is sent with a HTTPS POST. This is often referred to as the SAML Assertion Consumer Service (ACS) URL for your application.

https://lenovoclouddeploy.com/api/token/ws/exchange/LCD_Account_Key/ for example,

http://lenovoclouddeploy.com/api/token/ws/exchange/123456789ABCDEFGHIJK/

Replace LCD_Account_Key with the 20-character key provided to you during onboarding. This is the same account key you can use to log into lenovoclouddeploy.com.

Note

The account key was provided by the ITC engineer when your account was first created. It should not contain any dashes or spaces. For example, 123456789ABCDEFGHIJK

Attributes and claims

The Name ID must uniquely identify the user. For example, in Azure AD this could be their user.objectid.

A screenshot showing the required and additional claims.

In addition to the SAML 2.0 protocol’s standard fields, LCD integration requires the following fields:

NameDescription
nameThe displayed full name of the user.
emailaddressThe email address of the user.

The name and email fields map to LCD’s user profile fields.

SAML integration with LCD

Once everything is configured in your identity provider, the following three things are needed to complete the LCD integration and must be provided to your LCD technical contact.

  • Identifier (Entity ID)

  • Integration endpoint

  • Metadata endpoint

Identifier (Entity ID)

The application-defined unique identifier used to set up the SAML basic configuration.

Integration endpoint

The URL where LCD redirects the client to initiate the authentication process. The endpoint redirects to the Reply URL when a user signs in. In Azure, this is the User access URL.

Screenshot of the user access URL field.

Metadata endpoint

The identity provider’s metadata URL for your application.

Notes

  • Have the ID Provider sign the SAML response XML message at the assertion, not the top level SAML response element of the message.
  • Build SAML Claim base64 encoded with NameID, name, and emailaddress.

Next

You can now continue with the relevant setup:

2 - SAML setup for Azure

See the SAML overview before beginning these instructions.

This section provides an example setting up Microsoft Azure as an LCD identity provider.

  1. Log in into https://portal.azure.com.

  2. In the Azure Active Directory, under Manage, select Enterprise applications.

  3. Click New application.

    Screenshot of the Microsoft Azure Enterprise Applications screen.

  4. Click Create your own application.

    Screenshot of the Browse Microsoft Entra Gallery screen detail with Create your own application button.

  5. Enter the name for your application and select Integrate any other application…

    Screenshot of the Create Your Own Application screen with Lenovo Cloud Deploy SSO entered as the app name and Integrate any other application you don’t find in the gallery radio button selected.

  6. In the newly created application, under Manage, select Single sign-on.

    Screenshot of Lenovo Cloud Deploy SSO Overview screen.

  7. Select Method: Click the SAML tile.

    Screenshot of the Single sign-on screen.

  8. Basic SAML Configuration: Click Edit.

    Screenshot of the SAML-based sign-on screen.

  9. Basic SAML Configuration:

    a. Enter an identifier. You can use any value.

    b. Reply URL is https://lenovoclouddeploy.com/api/token/ws/exchange/LCD_Account_Key, replacing LCD_Account_Key with the 20-character key provided to you during onboarding. For example, https://lenovoclouddeploy.com/api/token/ws/exchange/123456789ABCDEFGHIJK

    c. Confirm the Default checkbox is checked.

    Screenshot of the Basic SAML Configuration screen.

  10. User Attributes & Claims: Click Edit.

    Screenshot of the Attributes and Claims edit screen.

  11. User Attributes & Claims: Add additional claims for name and email address.

    Screenshot of the Attributes and Claims screen.

  12. Token Signing Certificate: Provide the App Federation Metadata URL to your LCD technical contact.

    Screenshot of SAML Certificates section of the Set Up Single Sign-on with SAML screen.

  13. User Access URL:

    a. In the application, under Manage, select Properties.

    b. Provide the user access URL to your LCD technical contact.

    Screenshot of Lenovo Cloud Deploy SSO Properties screen.

3 - SAML setup for Windows Server

See the SAML overview before beginning these instructions. Your experience may differ slightly from the content below depending on your version of Windows Server.

  1. In the AD FS Management Console, right click the Relying Party Trusts group and select Add Relying Party Trust….

  2. Select Data Source: Select the option to enter data manually and click Next.

    Screenshot of the Add Relying Party Trust Wizard welcome screen with the Enter data about the relying party manually radio button selected.

  3. Specify Display Name: Enter the name you would like to use for the new trust entry and click Next.

    Screenshot of the Specify Display Name screen of the Add Relying Party Trust Wizard.

  4. Choose Profile: Select AD FS profile and click Next.

    Screenshot of the Choose Profile screen of the Add Relying Party Trust Wizard, with AD FS profile radio button selected.

  5. Configure Certificate: Lenovo Cloud Deploy does not support certificates. Click Next.

    Screenshot of the Configure Certificate screen of the Add Relying party Trust Wizard.

  6. Configure URL:

    a. Check Enable support for the SAML 2.0 WebSSO protocol.

    b. Enter your service URL: https://lenovoclouddeploy.com/api/token/ws/exchange/LCD_Account_Key e.g. https://lenovoclouddeploy.com/api/token/ws/exchange/123456789ABCDEFGHIJK

    c. Click Next.

  7. Configure Identifiers:

    a. Add https://lenovoclouddeploy.com as a Relying party trust identifier.

    b. Click Next.

  8. Configure Multi-factor Authentication: This step is optional. Click Next.

    Screenshot of the Configure Multi-factor Authentication Now? screen of the Add Relying Party Trust Wizard.

  9. Choose Issuance Authorization Rules:

    a. Select Permit all users to access this relying party.

    b. Click Next.

    Screenshot of the Choose Issuance Authorization Rules screen in the Add Relying Party Trust Wizard, with the Permit all users to access this relying party radio button selected.

  10. Ready to Add Trust: Review the summary and click Next.

    Screenshot of the Ready to Add Trust screen of the Add Relying Party Trust Wizard.

  11. Finish:

    a. Check the box to open the Edit Claim rules.

    b. Click Close.

    Screenshot of the Finish screen of the Add Relying Party Trust Wizard, with the Open the Edit Claim Rules dialog for this relying party trust when the wizard closes check box checked.

  12. Issuance Transform Rules: Click Add Rule…

    Screenshot of the Edit Claim Rules for Lenovo Cloud Deploy screen.

  13. Choose Rule Type:

    a. Select Send LDAP Attributes as Claims.

    b. Click Next.

    Screenshot of the Choose Rule Type screen of the Add Transform Claim Rule Wizard, with Send LDAP Attributes as Claims selected in the Claim rule template drop-down menu.

  14. Configure Claim Rule:

    a. Name the rule.

    b. Select Active Directory.

    c. Add the required mappings from section SAML setup for E-Mail Address, Name, and Name ID.

    d. Click Finish.

    Screenshot of the Configure Claim Rule screen of the Add Transform Claim Rule Wizard.

  15. Finish: Setup is now complete. Click OK.

    Screenshot of the Edit Claim Rules for Lenovo Cloud Deploy screen with the Issuance Transform Rules tab active and the new rule added to the list.

4 - SAML setup for Okta

See the SAML overview before beginning these instructions.

This section provides an example setting up Okta as an identity provider for LCD. If you have questions, please contact Okta directly.

  1. Create a New Application Integration:

    a. Select Web platform.

    b. Select SAML 2.0 as the Sign on method.

    c. Click Create.

  2. General Settings: Configure this to your preference and click Next.

    a. Audience URI can be anything. It is the identifier for integration with LCD.

    b. Single sign on URL is https://lenovoclouddeploy.com/api/token/ws/exchange/LCD_Account_Key. Replace LCD_Account_Key with the 20-character key provided to you during onboarding. This is the same account key you can use to sign into lenovoclouddeploy.com.

  3. SAML Settings:

    a. Name ID format is EmailAddress

    b. Application username is Email

    c. In the Name field, enter the user’s displayed name. You may use your preferred value.

    d. In the Emailaddress field, enter the user’s email address.

  4. SAML Settings: The metadata URL can be found here for integration with LCD. Click View Setup Instructions to proceed to the next step.

  5. Select Method: The Identify Provider Single Sign-On URL is the Integration endpoint for integration with LCD.

5 - OpenID setup

Basic OpenID configuration

These are the data points that you will need to configure your OpenID setup.

Application ID or Client ID (Identifier)

The application-defined unique identifier assigned to LCD. For example, you can use LCD.

Client Authentication

LCD uses a client secret.

Grant Types

LCD uses the Authorization Code grant type.

Redirect URI

The following case-sensitive URL must be added to the allowed redirection URIs: https://www.lenovoclouddeploy.com/auth/openIdLogin

Attributes & Claims

LCD requires the following three claims.

ClaimScopeDescription
subopenidThe user’s unique identifier.
nameprofileThe user’s displayed full name.
emailemailThe email address of the user.

OpenID integration with LCD

Once everything is configured in your identity provider, the following three things are needed to complete the LCD integration:

• Identifier (Entity ID)

• Client Secret

• Well-known/OpenID configuration

Identifer (Entity ID)

The application ID or client ID assigned to LCD.

Client Secret

The private key assigned to LCD.

Well-known/OpenID configuration

The OpenID Connect Metadata EndPoint. This is the provider’s Issuer (base) URL suffixed with /.well-known/openid-configuration