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.


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.

In addition to the SAML 2.0 protocol’s standard fields, LCD integration requires the following fields:
| Name | Description |
|---|
| name | The displayed full name of the user. |
| emailaddress | The 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.

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.
Log in into https://portal.azure.com.
In the Azure Active Directory, under Manage, select Enterprise applications.
Click New application.

Click Create your own application.

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

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

Select Method: Click the SAML tile.

Basic SAML Configuration: Click Edit.

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.

User Attributes & Claims: Click Edit.

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

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

User Access URL:
a. In the application, under Manage, select Properties.
b. Provide the user access URL to your LCD technical contact.

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.
In the AD FS Management Console, right click the Relying Party Trusts group and select Add Relying Party Trust….
Select Data Source: Select the option to enter data manually and click Next.

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

Choose Profile: Select AD FS profile and click Next.

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

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.
Configure Identifiers:
a. Add https://lenovoclouddeploy.com as a Relying party trust identifier.
b. Click Next.
Configure Multi-factor Authentication: This step is optional. Click Next.

Choose Issuance Authorization Rules:
a. Select Permit all users to access this relying party.
b. Click Next.

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

Finish:
a. Check the box to open the Edit Claim rules.
b. Click Close.

Issuance Transform Rules: Click Add Rule…

Choose Rule Type:
a. Select Send LDAP Attributes as Claims.
b. Click Next.

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.

Finish: Setup is now complete. Click OK.

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.
Create a New Application Integration:
a. Select Web platform.
b. Select SAML 2.0 as the Sign on method.
c. Click Create.
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.
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.
SAML Settings: The metadata URL can be found here for integration with LCD. Click View Setup Instructions to proceed to the next step.
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.
| Claim | Scope | Description |
|---|
| sub | openid | The user’s unique identifier. |
| name | profile | The user’s displayed full name. |
| email | email | The 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