> For the complete documentation index, see [llms.txt](https://help.sipgate.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sipgate.de/cloud-telefonanlage/en/account-management/login/wie-richte-ich-saml-sso-mit-okta-ein.md).

# How do I set up SAML SSO with Okta?

In this article, you will find step-by-step instructions for setting up SAML SSO with Okta as the identity provider.

This article provides step-by-step instructions for setting up SAML SSO if you use Okta as your identity provider. If you're looking for instructions on setting up SSO login for sipgate, [you can find them here](https://help.sipgate.de/hc/de/articles/13437518031645-Wie-richte-ich-einen-SSO-Login-f%C3%BCr-mein-Unternehmen-ein-).

{% stepper %}
{% step %}
**Create an app integration**

Sign in to Okta as an admin, go to **Applications** in the menu on the right, and click **Create App Integration**.

![sipgate-Hilfecenter-okta1.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-7deb1afe141cf67154a3358d367fd6b315132b32%2Fsipgate-Hilfecenter-okta1.png?alt=media\&token=f9003c2f-92e6-42dd-b8f4-05fe58ae92ad)

In the next step, select **SAML 2.0.** off.

![sipgate-Hilfecenter-okta2.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-65421f35b312d3febd583dab9fc61ddb8e0379ef%2Fsipgate-Hilfecenter-okta2.png?alt=media\&token=d02d231b-9f8b-461e-b82e-ea8af792173e)
{% endstep %}

{% step %}
**Name the app**

You can also give the app you created any name you like and add an icon. Then continue by clicking **Next**.

![sipgate-Hilfecenter-okta3.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-05992b55b7c94913008268ee64e97c08b7382c4a%2Fsipgate-Hilfecenter-okta3.png?alt=media\&token=61945509-7004-410c-9219-dd5a2bed0957)
{% endstep %}

{% step %}
**Configure SAML**

Next, configure the SAML integration by entering sipgate’s service provider details in Okta. Enter the details as follows: **ACS URL --> Single Sign-On URL** and **Entity ID --> Audience URI (SP Entity ID)**. Also check the box for **Use this for Recipient URL and Destination URL**.

Next, set **Name ID** to **EmailAddress** and **Application username** to **Email**.

![sipgate-Hilfecenter-okta4.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-025e793166fb6d6808b4904d2b791acccf1a83e5%2Fsipgate-Hilfecenter-okta4.png?alt=media\&token=479d4538-5deb-4e07-a263-7e6770fac2aa)
{% endstep %}

{% step %}
**Complete the setup**

In the next step, answer the question "Are you a customer or partner?" with "I'm an Okta customer adding an internal app", and in the **App type** section, select "It's required to contact the vendor to enable SAML". Then click **Finish**.

![sipgate-Hilfecenter-okta5.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-23545e974c9323201e75411fe751588f6fa39a04%2Fsipgate-Hilfecenter-okta5.png?alt=media\&token=c7fb6923-836b-496b-834c-5335777e1604)
{% endstep %}

{% step %}
**Transfer IdP data**

You can find the overview of the sipgate configuration under **Applications** **-->** **Sign on** **-->** **Sign on methods**. In this overview, you’ll find the identity provider details that need to be entered in sipgate. Click **More Details**, to expand all the details.

![sipgate-Hilfecenter-okta6.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-0b8e19923b968bb4a6eed19ce4fa483713e3de6f%2Fsipgate-Hilfecenter-okta6.png?alt=media\&token=0375996b-4260-4deb-9b31-96b936ae33a6)

Enter the following details in the SSO section in sipgate (identity provider details): **Sign on URL --> SSO URL** and **Issuer --> Entity ID**. Download the certificate from Okta using the Download button.

{% hint style="info" %}
Download the certificate using the Download button. If you use the Copy button, not all the required information will be included.
{% endhint %}

![sipgate-Hilfecenter-okta1-1.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-e8c414bdc0567dd342709ff8c655be67464c666e%2Fsipgate-Hilfecenter-okta1-1.png?alt=media\&token=21ad8a1f-2481-4aff-ae72-236b8a2fb168)

Open the certificate with the default text editor. Copy the certificate text from the editor and paste it into the Certificate field in sipgate.

{% hint style="warning" %}
**Important:** Make sure the sipgate application is enabled in Okta.
{% endhint %}

![sipgate-Hilfecenter-okta7.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-bd3646af249ad79c34adcca8cf6bf0856e138a46%2Fsipgate-Hilfecenter-okta7.png?alt=media\&token=f0d0b575-9b39-4872-b85e-f4a11c8633db)
{% endstep %}

{% step %}
**Enable SSO at sipgate**

Once you have completed these steps successfully, the interface between sipgate and Okta should be set up. You can then enable SSO login via the toggle in sipgate.

![sipgate-Hilfecenter-SSO7.3.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-17fe09c3e58bfecae9dbff65946cca9f2607c4f4%2Fsipgate-Hilfecenter-SSO7.3.png?alt=media\&token=dc57eadd-0faa-4012-990c-391389536669)
{% endstep %}
{% endstepper %}

#### Errors and solutions

<details>

<summary>Error message: "An error occurred. Please try again. Back to login."</summary>

**Cause**: The web user with Google SSO was deleted and recreated as a new web user. The old web user is still linked in the Google SSO database.\
**Workaround**: Contact sipgate Support to have the Google SSO entry deleted. Then test again to see whether the next Google SSO login works.\
**Solution**: We are working on a solution that will also delete the Google SSO entry when a web user is deleted.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.sipgate.de/cloud-telefonanlage/en/account-management/login/wie-richte-ich-saml-sso-mit-okta-ein.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
