> ## Documentation Index
> Fetch the complete documentation index at: https://help.os.translated.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Single sign-on

> How to connect your identity provider to TranslationOS

For identity and access administrators. Supported providers are Okta and Microsoft Entra.

## Before you start

You need two values from Translated, specific to your organisation and to the environment you are configuring:

* the single sign-on URL, which Microsoft Entra calls the reply URL or assertion consumer service URL
* the audience URI, which Microsoft Entra calls the identifier or entity ID

> [!WARNING]
>
> Ask your Translated contact for both, and say whether you are configuring sandbox or production. We do not publish these values, because they differ by environment and are issued per tenant. Configuring against a value taken from anywhere else produces a login that fails with no useful error.

You will also need administrator access to Okta or Microsoft Entra.

## Okta

### Create the SAML integration

**1. Start a new app integration**

In the Admin Console, go to **Applications > Applications** and click **Create App Integration**. Choose **SAML 2.0**, then **Next**.

**2. Enter the general details**

Then **Next**.

**3. Enter the SAML settings**

| Field | Value |
| - | - |
| Single sign-on URL | The value Translated gives you for your environment |
| Audience URI (SP Entity ID) | The value Translated gives you for your environment |
| Default RelayState | Leave empty |
| Name ID format | Keep the default |
| Application username | The user's email address. The domain is what identifies your users to TranslationOS |
| Update application username on | Keep the default |

**4. Add the attribute statements**

With name format **Unspecified**:

| Name | Value |
| - | - |
| `email` | `user.email` |
| `givenname` | `user.firstName` |
| `lastname` | `user.lastName` |
| `name` | `user.displayName` |

**5. Finish**

Click **Next**, select the internal app option, then **Finish**.

### Send Translated the metadata

1. Open the **Sign On** tab and find **SAML Signing Certificates**.
2. In the certificate's **Actions** menu, choose **View IdP metadata**.
3. Copy the metadata URL and send it to Translated.

Translated configures their side and confirms when you can continue.

### Assign users

Assign the application to your users in Okta. Each user then signs in to TranslationOS with their Okta email address, which creates their record and applies your permission rules.

## Microsoft Entra

### Create the application

1. Go to the Microsoft Entra Gallery.
2. Click **Create a new application** and name it, for example TranslationOS.
3. Choose the non-gallery option, then **Create**.

### Configure SAML

**1. Open single sign-on**

In **Overview**, select **Single sign-on**, then **SAML**.

**2. Edit the basic configuration**

Open **Basic SAML Configuration**.

**3. Add the identifier**

Under **Identifier (Entity ID)**, enter the audience URI Translated gave you.

**4. Add the reply URL**

Under **Reply URL (Assertion Consumer Service URL)**, enter the single sign-on URL Translated gave you.

**5. Save**

### Configure claims

1. In **Attributes and Claims**, open each claim, clear the namespace field, and save.
2. Take a screenshot of the finished Attributes and Claims view.

### Send Translated the metadata

Copy the **App Federation Metadata Url** from the SAML Certificates section and send it, with the claims screenshot, to Translated.

### Assign users

Under **Users and groups**, add the users or groups who need access. Each user signs in to TranslationOS with their email address to create their record.

## Known limitation

Identity-provider-initiated sign-in is not supported. A tile in your company's app launcher will not sign users in. Users must go to the TranslationOS address and sign in from there.

## Troubleshooting

> [accordion] Users reach TranslationOS but see nothing
>
> Their record exists but is not attached to your organisation. Contact your account manager.

> [accordion] Authentication fails for everyone
>
> Check that the application username is the email address and not a username, and that the audience URI matches the environment you are signing in to.

> [accordion] Authentication fails for one user
>
> Check they are assigned to the application in your identity provider.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.