OIDC Authentication
OIDC is an authentication protocol based on the OAuth 2.0 framework, which uses HTTPS endpoints to retrieve user data. It uses JSON web tokens (JWT) to authenticate user identity data (also known as claims). Tokens are digitally signed and can also be encrypted. Complete all of the following procedures to configure OIDC authentication.Create users in Lucidworks Platform
Prerequisites
- Users must be added to the Lucidworks Platform.
- Users must exist in your identity provider, and be enabled for the application you are using to connect with Lucidworks Platform.
- The user’s email address in your identity provider and Lucidworks Platform must match, including case. Some identity providers treat email addresses as case-sensitive, which can prevent a user from accessing Lucidworks Platform if the case doesn’t match exactly.
- Navigate to the megamenu and click Settings > Users & Provisioning > Users.
- Verify all necessary users are listed, active, and their emails match their identity provider user counterparts.
- If any users are missing, add the appropriate users by completing the steps in invite workspace owners.
Create an OIDC application in your identity provider
- Create a new OIDC application in your identity provider. Refer to your provider’s documentation for detailed steps:
-
When creating the application, use the following settings:
- Sign-in method: Select OIDC.
- Application type: Select Web Application.
- Sign-in redirect URIs: Leave this blank for now. You’ll configure it in a later step.
- Logout redirect URIs: Remove all URIs.
- Controlled access: Allow everyone in your organization to access the application.
- Access approval: Disable any setting that grants users immediate access without admin approval.
-
After creating the application, copy the Client ID and the Client Secret, and save them in a secure location.
The Client ID and the Client Secret credentials are critical for OIDC communication and must be kept secure.
- Assign at least one user and one admin to the application. These users must already exist in Lucidworks Platform. You must assign yourself as one of the users to be able to complete the authentication configuration.
Create the Identity Provider in Lucidworks Platform
- Navigate to the megamenu and click Settings > Users & Provisioning > Authentication > OIDC.
-
Enter values in the required fields:
-
Email Domains: Enter the list of domains you want to use as filter options, for example,
lucidworks.com. - Enter the Client ID and Client Secret provided by your identity provider’s OIDC application.
- Enter the Configuration URL provided by your identity provider.
- Enter the Issuer URL, which identifies your identity provider’s authorization server and is provided by your identity provider’s OIDC application.
- Enter the Authorization URL for the server that performs user authorization.
- Enter the Token URL for the server where the authorization code is sent to obtain a user access token.
- Enter the User Info URL for the server where the user profile attributes are stored and can be retrieved after authentication.
- Enter the JWKS URL, which is the JSON Web Key Set that verifies signed JWT tokens, provided by your identity provider’s OIDC application.
-
Email Domains: Enter the list of domains you want to use as filter options, for example,
- Click Save.
- The Identity Provider process may take several minutes to complete. Once finished, the URLs for IDP Configuration display on the right side of the screen. Copy the Redirect URL and save it in a secure location.
Configure the redirect URI in your identity provider
- In your identity provider, navigate to the application you created for Lucidworks SSO.
- Add the Redirect URL generated by Lucidworks Platform to the application’s sign-in redirect URIs.
- Save your changes.
Test SSO functionality
After configuring both Identity Provider and the application, test the integration by attempting to log into Lucidworks Platform with one of the users assigned to the application. If the configuration is successful, you are prompted to log in with your identity provider’s authentication.SAML authentication
SAML is an XML-based protocol that uses HTTP to authenticate and authorize user data. In a SAML workflow, Lucidworks Platform is the Relying Party (RP) that requests and receives SAML assertions from the identity provider.Create users in Lucidworks Platform
Prerequisites
- Users must be added to the Lucidworks Platform.
- Users must exist in your identity provider, and be enabled for the application you are using to connect with Lucidworks Platform.
- The user’s email address in your identity provider and Lucidworks Platform must match, including case. Some identity providers treat email addresses as case-sensitive, which can prevent a user from accessing Lucidworks Platform if the case doesn’t match exactly.
- Navigate to the megamenu and click Settings > Users & Provisioning > Users.
- Verify all necessary users are listed, active, and their emails match their identity provider user counterparts.
- If any users are missing, add the appropriate users by completing the steps in invite workspace owners.
Create a SAML application in your identity provider
- Create a new SAML application in your identity provider. Refer to your provider’s documentation for detailed steps:
-
When creating the application, use the following settings:
- Sign-in method: Select SAML 2.0.
- Single Sign On URL (ACS URL): Enter a placeholder URL for now. You’ll configure it in a later step.
- Audience URI (SP Entity ID): Enter a placeholder URL for now. You’ll configure it in a later step.
- Name ID Format: Select the appropriate Name ID format. This is usually
EmailAddress. - Application username: Choose how your identity provider should map the user’s application username. For example, their identity provider username or email address.
-
After creating the application, locate its metadata, copy the Metadata URL, and save it in a secure location.
The Metadata URL is critical for SAML communication and must be kept secure.
- Assign at least one user and one admin to the application. These users must already exist in Lucidworks Platform. You must assign yourself as one of the users to be able to complete the authentication configuration.
Create the Identity Provider in Lucidworks Platform
- Navigate to the megamenu and click Settings > Users & Provisioning > Authentication > SAML.
-
Fill out required fields:
-
Email Domains: Enter the list of domains you want to filter by, for example,
\lucidworks.com. - Enter the Metadata URL provided by your identity provider’s SAML application.
- Enter the Issuer URL that specifies which identity provider is used by SAML. This value is generated when the SAML application is created.
- Enter the Identity Provider SSO URL, which is the single sign-on endpoint for users, and is provided by your identity provider’s SAML application.
- Paste the Certificate information, which is provided by your identity provider’s SAML application and is used by the identity provider to sign SAML responses.
-
Email Domains: Enter the list of domains you want to filter by, for example,
- Click Save.
-
The Identity Provider process may take several minutes to complete. Once finished, the URLs for IDP Configuration display on the right side of the screen:
- Audience URI
- Assertion Consumer Service URL
- Copy the URLs and save them in a secure location.
Configure the application in your identity provider
- In your identity provider, navigate to the application you created for Lucidworks SSO.
-
Update the application’s SAML settings:
- In Single Sign On URL (ACS URL) paste the Assertion Consumer Service URL generated by Lucidworks Platform.
- In Audience URI (SP Entity ID) paste the Audience URI generated by Lucidworks Platform.
-
Optional: If your identity provider supports SAML attribute mapping, configure the following mappings to send additional user information to Lucidworks Platform:
- Save your changes.