> 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/oauth-setup.md). Agents can also search and read this documentation through its [MCP server](https://docs.infotopics.com/~gitbook/mcp).

# OAuth Setup

OAuth sign-in is mostly a matter of exchanging three things with your provider: a client id, a client secret and two return URLs. WriteBackExtreme supports five providers, and the pages under this one walk through the provider side for the most common ones.

Open **Security › OAuth** in the management console, tick **Enable OAuth Authentication** and click **oAuth configuration** to add one. You can add as many configurations as you like — each becomes its own button on the sign-in page — and the table lists them by **Name** and **Provider**.

<figure><img src="https://3247237607-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0gkOLIfzuEyMP2kvoT9o%2Fuploads%2Fgit-blob-a176f78fcb0a3cc13d488701e3fe75c2f8a65c25%2FConsole_Security_OAuthNew.png?alt=media" alt=""><figcaption><p>Adding an OAuth configuration</p></figcaption></figure>

{% hint style="info" %}
OAuth cannot be enabled before you have added a configuration. Add one first, then tick the box.
{% endhint %}

## The fields

Every provider asks for the same three:

* **Login button label** — the text on the sign-in button, so people recognise it. "Sign in with Google" beats "Login".
* **Client ID**
* **Client Secret**

Depending on the provider, one more field appears:

| Provider       | Extra field             | Notes                                                                                                    |
| -------------- | ----------------------- | -------------------------------------------------------------------------------------------------------- |
| **Google**     | —                       |                                                                                                          |
| **Auth0**      | **Domain**              | Your Auth0 tenant domain.                                                                                |
| **Okta**       | **Domain**              | Your Okta org domain.                                                                                    |
| **Microsoft**  | **Tenant ID or domain** | Optional. Empty for multi-tenant apps; your Microsoft Entra tenant id or domain for a single-tenant app. |
| **SalesForce** | **Instance URL**        | For example `https://[instance-name].my.salesforce.com`.                                                 |

## The return URLs

As soon as you have typed a client id, two **Return/Reply URL's** appear at the bottom of the form. Both have to be registered as redirect URLs with your provider: the first signs people in from a Tableau dashboard, the second signs them in to the management console.

## Test, then apply

**Test Oauth** opens a sign-in popup at your provider. It becomes available once a client id and a client secret are filled in — and when you edit an existing configuration the secret is cleared for safety, so retype it before you test.

{% hint style="info" %}
The test only passes when the account you sign in with already exists in WriteBackExtreme **and** may open the management console, so it needs the administrator flag or at least one role. Otherwise the test reports that it cannot sign that user in, even though your provider authenticated them fine.
{% endhint %}

Then click **Apply config**, which adds the configuration, enables OAuth and saves it in one go. Testing is not required before you apply, but there is little point in skipping it.

## How users are matched

WriteBackExtreme matches the e-mail address your provider returns against the **Platform username** of a user, ignoring upper and lower case. Someone signing in to the extension whose e-mail is not known yet is registered automatically, in the **Everyone** group.

## Provider guides

{% content-ref url="/pages/BbFdG80te3zwmkLPMIVD" %}
[Microsoft (Entra ID)](https://docs.infotopics.com/features/management-console/setup-security/oauth-setup/microsoft-entra.md)
{% endcontent-ref %}

{% content-ref url="/pages/UDsgV741CJ0xL0qseWgv" %}
[Auth0](https://docs.infotopics.com/features/management-console/setup-security/oauth-setup/auth0.md)
{% endcontent-ref %}

{% content-ref url="/pages/Ovi8zKhnm8OXmETzn3aQ" %}
[Google](https://docs.infotopics.com/features/management-console/setup-security/oauth-setup/google.md)
{% endcontent-ref %}

{% content-ref url="/pages/66EfYP0Uft1JIAUvncCt" %}
[Okta](https://docs.infotopics.com/features/management-console/setup-security/oauth-setup/okta.md)
{% endcontent-ref %}

{% content-ref url="/pages/aZumKP98kznl9nQSOiki" %}
[Salesforce](https://docs.infotopics.com/features/management-console/setup-security/oauth-setup/salesforce.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/oauth-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.
