Register Elastic Cloud SAML in Okta
editRegister Elastic Cloud SAML in Okta
editTo configure Elastic Cloud SAML SSO with Okta as the identity provider (IdP), perform the following steps.
Create a new SAML 2.0 application
editFollow these steps to create a new SAML application for Elastic Cloud in Okta.
- In Okta, create a new app integration. select SAML 2.0 as the sign-in method.
- Add a name for the application.
-
In the app visibility section, select the Do not display appliation icon options. Elastic Cloud does not support IdP-initiated login.
If you want to create an Okta tile for Elastic Cloud, then set one up using the Bookmark App integration after you have configured SAML SSO.
-
In the SAML settings, fill in the details for your new application. Enter placeholder SAML settings such as
http://example.com/sso
andhttp://example.com/sp
for the single sign-on URL and audience URI. - Add attribute statements for your organization members' email addresses. These addresses should match the domains that you claimed using Claim a domain. Optionally add first and last names, which will be used to set the respective fields of the user’s Elastic Cloud account.
-
Optional: If you plan to use role mappings to automate role assignments, add a group attribute statement named
groups
and filter the groups as desired. - Save the application.
-
Collect information about the application from the Okta Sign on tab.
- Get the SAML issuer and the SSO URL, which is the URL of the IdP where users will be redirected at login.
- Download the signing certificate of the SAML 2 application.
Register with Elastic Cloud
editRegister the IdP with Elastic Cloud.
- Open your organization’s Security tab.
- In the User authentication section, click Configure SSO.
-
Fill the following fields:
- Identity Provider Entity ID: Enter the SAML issuer that you collected in the previous step.
- Identity Provider SSO URL: Enter the SSO URL that you collected in the previous step. Users will be redirected to this URL when they attempt to log in.
- Public x509 certificate: Paste the contents of the downloaded signing certificate.
- Login identifier prefix: A customizable piece of the Elastic Cloud SSO URL that your organization members can use to authenticate. This could be the name of your business. You can use lowercase alphanumeric characters and hyphens in this value, and you can change it later.
- Click Update configuration.
If successful, the API will return additional details that will need to be provided to the IdP.
Update the application in Okta
editUpdate your SAML 2 application in Okta to use the values returned in the User authentication page.
- Set the single sign-on URL to the SSO Login URL.
- Set the audience URI (SP entity ID) to the Service provider Entity ID.
- Optional: Fill in other details using information from the metadata file available at the metadata URL.
When these steps are complete, you should be able to test SSO as described in Configure Elastic Cloud SAML SSO.
Optionally, if you want to create an Okta tile for Elastic Cloud, then you can set one up using the Bookmark App integration at this stage.