# Auth0

1. Login to auth0
2. Click `Applications` in the left menu
3. Click the blue `+ Create application` button on the top right of the page
4. In the popup:
   1. Set the name for the application. (Preferably with the name \`WriteBackExtreme in it)
   2. Select `Regular web application` and click the blue `Create` button&#x20;
5. Copy the `Domain`, `Client ID` and `Client Secret`&#x20;
6. Open the WriteBackExtreme management console.&#x20;

   1. Go to `Security`
   2. Select `OAuth`&#x20;
   3. Click `+ Add configuration`
   4. Select auth0 as provider.
   5. Fill in the `Domain`, `Client ID` and `Client Secret`  you copied from the auth0 page
   6. Copy the return URL's shown at the bottom.&#x20;

   <figure><img src="/files/kiqAWkYFnZ6uUgenqjdJ" alt=""><figcaption></figcaption></figure>
7. Go Back to your app registration on the auth0 webpage. Scroll down to the section named `Application URIs`
8. Paste the first URL into the `Application Login URI` field and the `Allowed Callback URLs` field.&#x20;
9. Paste the second url in the `Callback URLs` field

<figure><img src="/files/JCur7emBWCCdn9g7s53f" alt=""><figcaption></figcaption></figure>

10. Click the blue `Save` Button at the bottom of the page
11. Go back to the management console and click the `Test OAuth` button.&#x20;
12. Click the pink `Apply config` button when the test succeded.&#x20;


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.infotopics.com/writebackextreme/features/management-console/setup-security/oauth-setup/auth0.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
