> For the complete documentation index, see [llms.txt](https://docs.infotopics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.infotopics.com/features/management-console/setup-security/sso-setup.md). Agents can also search and read this documentation through its [MCP server](https://docs.infotopics.com/~gitbook/mcp).

# SSO Setup

WriteBackExtreme signs people in over SAML, as a generic service provider: there are no provider presets, so any identity provider that speaks SAML works. You create an application at your provider, exchange a handful of values with it, and you are done. It covers the management console as well as the extension.

Open **Security › Single Sign On** and tick **Enable SAML Authentication** to start. Until you do, the fields stay greyed out.

<figure><img src="https://3247237607-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0gkOLIfzuEyMP2kvoT9o%2Fuploads%2Fgit-blob-a76eb23bb24beae37e2160997b6a1cfccea74c0e%2FConsole_Security_SSOAdvanced.png?alt=media" alt=""><figcaption><p>The SAML panel, with Advanced configuration expanded</p></figcaption></figure>

## What you need

At your identity provider:

* An application, with your users and groups assigned to it.
* Both reply URLs from WriteBackExtreme registered on it.
* An attribute that sends the username.

In WriteBackExtreme: the **SP Entity ID** you chose, and the **IdP Identifier (Entity ID)**, **Login URL** and certificate from the application.

## The reply URLs

At the top of the panel, under **Return/Reply URL's**, WriteBackExtreme shows the two URLs your provider has to accept:

```
https://<your-writebackextreme-domain>/auth/saml/login-return
https://<your-writebackextreme-domain>/auth/admin/saml/login-return
```

The first signs people in from a Tableau dashboard, the second signs them in to the management console. Register both, or sign-in works in one place and fails in the other.

## The fields

| Field                                         | What goes in it                                                                                                                                                                         |
| --------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Login button label**                        | The text on the sign-in button. Defaults to *Login*.                                                                                                                                    |
| **Service Provider Entity ID (SP Entity ID)** | The name WriteBackExtreme is registered under at your provider. You choose it; fill in the same value on both sides. In Azure this is the **Identifier**, in Okta the **Audience URI**. |
| **IdP Identifier (Entity ID)**                | The identity provider's own id for the application. Azure calls it the **Microsoft Entra Identifier**, Okta the **Identity Provider Issuer**.                                           |
| **Login URL**                                 | The URL to send people to at the identity provider. Azure calls it the **Login URL**, Okta the **Identity Provider Single Sign-On URL**.                                                |
| **IdP Certificate (base64)**                  | The signing certificate (X.509) in base64. Paste it as it comes; WriteBackExtreme strips the BEGIN and END lines and the line breaks for you.                                           |

{% hint style="warning" %}
An SP Entity ID may not contain a `%`. The form refuses it.
{% endhint %}

## Send the username as an attribute

WriteBackExtreme expects an attribute called `username`, and matches its value against the **Platform username** of a user. Usually that is the e-mail address, and the same value you use as the username in Tableau. The match ignores upper and lower case, so `User@Company.com` and `user@company.com` reach the same account.

## Advanced configuration

Most setups never open this panel. Four settings live there for the ones that have to.

* **Disable XML Verification** — WriteBackExtreme validates the XML payload your provider sends. If your provider cannot meet those requirements, you can switch the validation off.
* **Disable match on authentication method** — some providers do not return exactly the authentication method that was requested, and reject the sign-in over it. Ticking this stops WriteBackExtreme checking that the methods match. This replaces the `requested_auth` setting that older versions needed in the configuration file.
* **Login binding** and **Logout binding** — under **Custom bindings**, for an identity provider with bindings of its own. Leave them empty to use the default, `urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect`. The larger identity providers do not need this.

{% hint style="warning" %}
**Disable XML Verification** turns off a real security check. Only use it when your provider genuinely cannot sign its payload the way WriteBackExtreme expects, and never as a first attempt at fixing a failing sign-in.
{% endhint %}

## Test, then apply

**Test SAML/SSO** becomes available once the login URL, the IdP entity id and the certificate are filled in. It takes you through a real sign-in at your provider.

{% hint style="info" %}
The test only passes for an account that already exists in WriteBackExtreme and may open the management console, so one with the administrator flag or at least one role. Blocked users and users without roles are sent back to the sign-in page with an error, even though the provider authenticated them.
{% endhint %}

**Apply config** needs the SP Entity ID, the IdP entity id, the login URL and the certificate, and saves everything immediately. Testing is not required before you apply, but it is much cheaper than finding out from your users.

## Examples

{% content-ref url="/pages/LeCsNlzAXjjwhbzclFdi" %}
[Azure Example](https://docs.infotopics.com/features/management-console/setup-security/sso-setup/azure-example.md)
{% endcontent-ref %}

{% content-ref url="/pages/2Q87dJckmoyQ80A7AmHf" %}
[OKTA Example](https://docs.infotopics.com/features/management-console/setup-security/sso-setup/okta-example.md)
{% endcontent-ref %}

{% content-ref url="/pages/K8ZidAyhZOsJld4WmbOq" %}
[PingOne Example](https://docs.infotopics.com/features/management-console/setup-security/sso-setup/pingone-example.md)
{% endcontent-ref %}

{% content-ref url="/pages/TfxE8rJNPTLhzyt95Isq" %}
[Troubleshooting SSO](https://docs.infotopics.com/features/management-console/setup-security/sso-setup/troubleshooting-sso.md)
{% endcontent-ref %}


---

# 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://docs.infotopics.com/features/management-console/setup-security/sso-setup.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.
