Set Up Okta SSO
This article describes how to integrate Okta with Ataccama ONE using SAML 2.0 or OpenID Connect (OIDC).
How sign-in works
When Okta SSO is configured, Okta acts as the identity provider (IDP) for ONE. On sign-in, you are redirected to Okta for authentication (using your Okta credentials), and Okta returns your identity to ONE: a signed SAML assertion with SAML, or a signed ID token with OIDC.
On first sign-in, your user account is created automatically from the user attributes Okta sends (email, first name, last name); on subsequent sign-ins, your profile attributes are refreshed from Okta.
|
Configure a separate identity provider for each Ataccama environment (for example, DEV, TEST, PROD). Each environment has its own realm and redirect URI, so the configuration cannot be shared across environments. |
Choose a protocol
Both protocols are supported and offer the same sign-in experience and group-based role mapping. They differ in what you configure and maintain:
| SAML 2.0 | OIDC | |
|---|---|---|
Registered in Okta |
SAML app integration with the service provider entity ID and the redirect URI. |
OIDC web application with the redirect URI, and claims on a custom authorization server. |
Credentials to maintain |
None in the Cloud Portal. The Okta signing certificate is read from the metadata URL. |
A client secret. If you rotate the secret in Okta, you must update it in the Cloud Portal. |
User attributes |
Mapped explicitly in the Cloud Portal. |
Read from the ID token. You add the profile claims to the ID token on the authorization server in Okta. |
If your organization already has a standard for connecting applications to Okta, use that protocol.
Prerequisites
Before you start, make sure you have the following:
-
Okta admin access with permission to create app integrations.
-
Environment admin access to the Ataccama Cloud Portal.
-
For group-based role mapping in ONE: Okta groups with the appropriate users assigned.
-
For OIDC: A custom authorization server (for example,
default) and permission to manage its claims and access policies. Custom authorization servers require Okta API Access Management.
Set up SAML SSO
SAML setup overview
Complete the following steps in order. Some values are generated in one step and reused in another, so keep both Okta and the Cloud Portal open throughout.
-
Get the service provider values from Cloud Portal: Copy the values to use as the Single sign-on URL and Audience URI in Okta.
-
Configure SAML SSO in Okta: Create the app integration, define the SAML settings, attribute statements, and group attribute statement, and assign users.
-
Complete the SAML configuration in Cloud Portal: Enter the SAML metadata, map user attributes, and, optionally, map groups to roles.
Get the service provider values from Cloud Portal
Okta needs two values that identify ONE as the service provider. Both are autogenerated for your environment realm, read-only, and can be copied directly from the Cloud Portal.
|
The redirect URI ends with the Alias of the identity provider you are creating (by default, |
-
In the Ataccama Cloud Portal, go to <your environment> > Access.
-
Under Identity provider (SSO), select Add.
-
In the Add Identity Provider dialog, set Identity provider type to SAML.
-
Copy the Service provider entity ID. This is the value ONE sends as the SAML issuer, and it is what you register in Okta as the Audience URI (SP Entity ID).
Example:
https://<YOUR_DOMAIN>.ataccama.one/auth/realms/<TENANT_NAME>. -
Copy the Redirect URI. This is the endpoint that receives the SAML assertion, and you register it in Okta as the Single sign-on URL.
Example:
https://<YOUR_DOMAIN>.ataccama.one/auth/realms/<TENANT_NAME>/broker/saml/endpoint.
If your Okta administrators need the values before you have the Okta metadata, copy them, close the dialog without saving, and reopen it once you have the metadata. Otherwise, keep the dialog open. You return to it in Complete the SAML configuration in Cloud Portal.
Configure SAML SSO in Okta
Follow the Okta documentation to complete these steps:
-
Create a SAML app integration.
When prompted to choose a sign-in method, select SAML 2.0. Use
Ataccama ONEas the App name (or your preferred name).-
When configuring SAML settings, set the following:
-
Single sign-on URL: The Redirect URI from Cloud Portal.
-
Audience URI (SP Entity ID): The Service provider entity ID from Cloud Portal.
-
Name ID format: EmailAddress.
-
Application username: Email.
The Single sign-on URL and the Audience URI (SP Entity ID) are two different values. If you use the redirect URI for both, the issuer that ONE sends does not match the audience Okta expects, and every sign-in fails.
-
-
Define attribute statements. The names you choose here must match the User attribute settings you enter in the Cloud Portal later.
-
firstName: Name format Basic, valueuser.firstName. -
lastName: Name format Basic, valueuser.lastName. -
email: Name format Basic, valueuser.email.
-
-
Define group attribute statements if you want to use group-based role mapping in ONE. The attribute name you choose here must match the Mapping attribute name you enter in the Cloud Portal later.
-
Name:
groups(or your preferred name). -
Name format: Basic.
-
Filter: Choose a filter that limits which groups are sent (for example, Starts with
Ataccama-).We do not recommend sending all groups without a filter. SAML assertions have a size limit, and including hundreds of group entries can cause the sign-in to fail.
-
-
On the final step of the wizard, select I’m an Okta customer adding an internal app and This is an internal app that we have created, then Finish.
-
-
Assign the app integration to the users and groups that should have access to ONE.
After you configure Okta, open the Sign On tab of your application and select View SAML setup instructions. Copy the metadata URL (recommended for autocompleting SAML settings) and complete the Cloud Portal configuration.
Alternatively, you can use the Identity Provider Single Sign-On URL and Identity Provider Issuer values, which have to be entered manually.
Complete the SAML configuration in Cloud Portal
Return to the Add Identity Provider dialog in the Cloud Portal and fill in the following.
General information for SAML
-
Alias: A short unique identifier. Leave the default (
saml) or enter your own (for example,okta-saml).If you change the alias after registering the sign-on URL in Okta, update the Single sign-on URL there to match.
-
Display Name: The label shown on the sign-in page (for example,
Okta). -
Display Order: Optional. Sets the order of this provider when multiple identity providers are configured.
SAML settings
-
Use discovery endpoint: Select this and paste the Okta metadata URL to automatically fill in the following fields.
-
Identity Provider Entity ID: The Identity Provider Issuer from Okta (for example,
http://www.okta.com/<OKTA_ID>). This is Okta’s own identifier, not the Service provider entity ID shown at the top of the dialog. -
Single Sign-On Service URL: The Identity Provider Single Sign-On URL from Okta.
-
Single Logout Service URL: Optional.
-
Name ID Policy Format: Email.
-
Want Assertions Signed: Enabled (recommended).
-
Validate Signature: Enabled (recommended).
You can leave all other SAML settings as default.
User attribute settings
Select Pre-fill for Okta to populate all four attribute fields with the default Okta values (and the Mapping attribute name in Group mapping (optional)). The pre-filled values are:
-
Username Attribute:
email -
Email Attribute:
email -
First Name Attribute:
firstName -
Last Name Attribute:
lastName
These values must exactly match the names you defined in Okta’s Attribute Statements (case sensitive).
Both Username Attribute and Email Attribute map to email because the Application username in Okta is set to Email.
To map groups to roles, continue with Group mapping (optional). Otherwise, Save and deploy.
Set up OIDC SSO
OIDC setup overview
Complete the following steps in order. Some values are generated in one step and reused in another, so keep both Okta and the Cloud Portal open throughout.
-
Get the redirect URI from Cloud Portal: Copy the value to use as the sign-in redirect URI in Okta.
-
Configure OIDC SSO in Okta: Create the OIDC app integration, add the profile claims and, optionally, a groups claim to the ID token, and assign users.
-
Complete the OIDC configuration in Cloud Portal: Enter the discovery endpoint and client credentials, and, optionally, map groups to roles.
Get the redirect URI from Cloud Portal
Okta needs the redirect URI to which it sends users back after authentication. The redirect URI is autogenerated for your environment realm, read-only, and can be copied directly from the Cloud Portal.
|
The redirect URI ends with the Alias of the identity provider you are creating (by default, |
-
In the Ataccama Cloud Portal, go to <your environment> > Access.
-
Under Identity provider (SSO), select Add.
-
In the Add Identity Provider dialog, set Identity provider type to OIDC.
-
Copy the Redirect URI.
Example:
https://<YOUR_DOMAIN>.ataccama.one/auth/realms/<TENANT_NAME>/broker/oidc/endpoint.
If your Okta administrators need the redirect URI before you have the client credentials, copy it and close the dialog without saving. Otherwise, keep the dialog open.
Configure OIDC SSO in Okta
Follow the Okta documentation to complete these steps:
-
Create an OIDC app integration:
-
In the Admin Console, go to Applications > Applications.
-
Select Create App Integration.
-
Select OIDC - OpenID Connect as the sign-in method and Web Application as the application type.
-
Enter
Ataccama ONEas the App integration name (or your preferred name). -
In General Settings, set the following:
-
Grant type: Authorization Code (the default).
-
Sign-in redirect URIs: The Redirect URI from Cloud Portal.
-
Sign-out redirect URIs: Optional. If you want signing out of ONE to also sign the user out of Okta, enter the Redirect URI from Cloud Portal with
/logout_responseappended (for example,https://<YOUR_DOMAIN>.ataccama.one/auth/realms/<TENANT_NAME>/broker/oidc/endpoint/logout_response).
-
-
Select Save.
-
On the General tab, copy the Client ID and the Client secret.
-
-
Add claims to the ID token on your custom authorization server:
-
Go to Security > API > Authorization Servers and select your authorization server.
-
On the Claims tab, add the following claims. For each claim, set Include in token type to ID Token and Always, and Include in to Any scope. ONE requests only the
openidscope, so the ID token contains the user’s profile and groups only if these claims are always included.Name Value type Value emailExpression
user.emailgiven_nameExpression
user.firstNamefamily_nameExpression
user.lastNamepreferred_usernameExpression
user.logingroups(optional)Groups
A filter that limits which groups are sent (for example, Starts with
Ataccama-).Add the
groupsclaim only if you want to use group-based role mapping in ONE. Its name must match the Mapping attribute name you enter in the Cloud Portal later. We do not recommend sending all groups without a filter: tokens that include hundreds of group entries can cause the sign-in to fail.
-
-
On the Access Policies tab of the authorization server, make sure a policy and rule allow your application to use the Authorization Code grant.
-
On the Assignments tab, assign the app integration to the users and groups that should have access to ONE.
After you configure Okta, complete the Cloud Portal configuration.
Complete the OIDC configuration in Cloud Portal
Return to the Add Identity Provider dialog in the Cloud Portal and fill in the following.
Alias and display settings
-
Alias: A short unique identifier, up to 32 characters. Leave the default (
oidc) or enter your own (for example,okta-oidc).If you change the alias after registering the sign-in redirect URI in Okta, update the Sign-in redirect URIs there to match.
-
Display Name: The label shown on the sign-in page (for example,
Okta).
OpenID Connect settings
-
Use discovery endpoint: Selected by default. In Discovery Endpoint, enter the Metadata URI from the Settings tab of your custom authorization server (for example,
https://<YOUR_OKTA_DOMAIN>/oauth2/default/.well-known/openid-configuration). Use the same authorization server on which you added the claims. The Cloud Portal reads the provider metadata and fills in the Authorization URL, Token URL, Logout URL, User info URL, Issuer, and JWKS URL.Expand Show metadata and clear User info URL.
When User info URL is set, ONE reads the user profile from the Okta user info endpoint instead of from the ID token. That endpoint returns no email or name, and the claims you added in Okta are not used.
If you change the Discovery Endpoint later, User info URL is filled in again, so clear it again before you save.
If you clear Use discovery endpoint, enter the following manually and leave User info URL empty:
-
Authorization URL:
https://<YOUR_OKTA_DOMAIN>/oauth2/<AUTHORIZATION_SERVER_ID>/v1/authorize. -
Token URL:
https://<YOUR_OKTA_DOMAIN>/oauth2/<AUTHORIZATION_SERVER_ID>/v1/token. -
JWKS URL:
https://<YOUR_OKTA_DOMAIN>/oauth2/<AUTHORIZATION_SERVER_ID>/v1/keys. ONE validates the signature of every ID token against these keys.
-
-
Client ID: The Client ID from Okta.
-
Client Secret: The Client secret from Okta.
There is no user attribute mapping for OIDC.
The username, email, first name, and last name are read from the preferred_username, email, given_name, and family_name claims in the ID token.
To map groups to roles, continue with Group mapping (optional). Otherwise, Save and deploy.
Group mapping (optional)
To import Okta groups for role assignment in ONE, do the following in the Group mapping section of the Add Identity Provider dialog:
-
Select Enable group mapping.
-
In Mapping attribute name, enter the name of the attribute or claim that carries the groups:
-
SAML: The name of the Group Attribute Statement you defined in Okta (for example,
groups; pre-filled if you used Pre-fill for Okta). -
OIDC: The name of the groups claim you defined in Okta (for example,
groups).
-
-
Under Mappings, choose how to enter the groups:
-
One by one: Fill in one or both of the following:
-
Groups imported as roles: Enter one Okta group per line. Each group becomes a role in ONE with the same name.
-
Groups mapped to other roles: Select Add mapping, enter the IdP group, and select one or more Ataccama roles.
-
-
Bulk (CSV): Upload a CSV file or paste the mappings.
Write one group and one role on each line. To give a group more roles, add a line for each role. Leave the role empty to import the group under its own name.
group,role Ataccama-Admins,ataccama-admin-idp Ataccama-Admins,antaiagent-user Ataccama-Stewards,
-
Enter group names exactly as configured in Okta.
Group mapping is limited to 1,000 group-role pairs. One by one is available only for up to 50 groups mapped to other roles. With more, use Bulk (CSV).
You can also set up or change group mapping later: after the identity provider is saved, select Add user groups or Edit user groups on the identity provider in the Cloud Portal.
Since organizations often follow their own group naming conventions, you can map a group to a different, human-readable role name that is more meaningful within ONE. You can also map a group to reserved ONE roles, such as ataccama-admin-idp (full platform admin) or antaiagent-user (AI Agent access). For the full list of reserved roles, see Reserved identity provider roles.
Mapping Okta groups to reserved roles is the recommended way to assign them in production. Assigning them manually in ONE is intended for initial implementation and non-production environments only. See How identity provider roles are assigned.
Save and deploy
In the Add Identity Provider dialog, select Save and deploy to apply the configuration to your environment.
The change can take up to 10 minutes to apply. While it is in progress, the identity provider is shown as Setting up. Once it is applied, the configured identity provider appears on the ONE sign-in page.
Rotate the OIDC client secret
If you rotate the client secret in Okta, update it in the Cloud Portal: open the identity provider for editing, enter the new value in Client Secret, and select Save and deploy.
When you edit an identity provider, you can leave Client Secret empty to keep the stored secret.
Troubleshooting
SAML sign-in fails after configuration
-
Verify that the Audience URI (SP Entity ID) in Okta matches the Service provider entity ID from the Cloud Portal (the realm URL) and not the redirect URI. A mismatch here rejects the assertion on audience validation.
-
Verify that the Single sign-on URL in Okta exactly matches the Redirect URI from the Cloud Portal, including the alias at the end.
-
Verify that the Identity Provider Entity ID and Single Sign-On Service URL in the Cloud Portal match the values from Okta’s View SAML setup instructions.
OIDC sign-in fails after configuration
-
If Okta reports that the
redirect_uriparameter must be a Login redirect URI in the client app settings, verify that the Sign-in redirect URIs in Okta exactly match the Redirect URI from the Cloud Portal, including the alias at the end. -
If sign-in fails after you are redirected back to ONE, verify that the Client ID and Client Secret in the Cloud Portal match the values on the General tab of your Okta application. If the secret was rotated in Okta, update it in the Cloud Portal (see Rotate the OIDC client secret).
-
If Okta reports that the client is not allowed or that no policy matches, verify that an access policy on your custom authorization server allows your application.
-
Verify that the Discovery Endpoint in the Cloud Portal points to the same custom authorization server on which you added the claims.
-
If the Discovery Endpoint field is marked as invalid, verify that the URL ends with
/.well-known/openid-configurationand that it opens in a browser.
A default-roles-<tenant-name> role appears for every user
This is expected. ONE automatically assigns a default-roles-<tenant-name> role to every user account, whether or not the user belongs to any group mapped in Group mapping (optional).
The role carries no permissions and has no effect on access — it doesn’t mean the user has an unintended group mapping. See Default role for details.
If you need to restrict who can sign in to ONE, control this using the app integration assignment in Okta (see Configure SAML SSO in Okta or Configure OIDC SSO in Okta). Group mapping only affects what a signed-in user can do, not whether they can sign in.
User profile attributes are missing or incorrect
-
SAML: Confirm that the attribute names in the Cloud Portal User attribute settings exactly match the names in Okta’s Attribute Statements (case sensitive), and inspect the SAML assertion that Okta is sending (see Debug the SAML assertion).
-
OIDC: Confirm the following, and then inspect the ID token (see Debug the OIDC ID token):
-
User info URL under Show metadata in the Cloud Portal is empty.
-
The profile claims on your custom authorization server are set to Always and Any scope.
-
The user’s Okta profile has an email, first name, and last name.
If the username is a random string, the ID token contains neither
preferred_usernamenoremail. -
Group memberships are not reflected
-
Verify that the group attribute statement (SAML) or the groups claim (OIDC) in Okta is configured and that the filter includes the expected groups.
-
Confirm that the Mapping attribute name in the Cloud Portal matches the attribute or claim name used in Okta.
-
Verify that the user is a member of the relevant Okta groups and that those groups are assigned to the application.
Debug the SAML assertion
To inspect what Okta is actually sending:
-
Open an incognito browser window and go to Developer Tools > Network tab with Preserve log enabled.
-
Attempt to sign in using the SSO option.
-
Find the POST request that contains
SAMLResponse. -
Copy the value and decode it with a SAML decoder, for example, SAMLTool.
-
Verify that all expected attributes (
email,firstName,lastName, and the group attribute if configured) are present in<AttributeStatement>.
Debug the OIDC ID token
With OIDC, ONE exchanges the authorization code for the ID token directly with Okta, so the token doesn’t pass through your browser. To check what Okta issues:
-
In the Okta Admin Console, go to Reports > System Log and filter by the user or the application to see whether the sign-in succeeded and, if not, the reason.
-
Open your custom authorization server under Security > API > Authorization Servers and use the Token Preview tab to preview the ID token for a specific user and your application, with the Authorization Code grant and the
openidscope only. Verify that the expected claims (email,given_name,family_name,preferred_username, and the groups claim if configured) are present.
Was this page useful?