# Azure ADFS

* Go to Azure Active Directory

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

* Press App registrations in the side bar
* Press `new registration`
* Fill in all the details to set up your application

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

* Press `register`
* You will now be in the app screen where you can immediately see the `application (client) ID` which you will need as the client id of the application

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

* Now you can press the end points button on the top

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

* Here you can find the token endpoint and the authorization endpoint
* You can use the `OpenID Connect metadata document` endpoint to get the issued id and the user info endpoint
* Now you can press `certificates and secrets` here in the side bar

<figure><img src="/files/5ZDvOkyLsrRA3BuEGMsb" alt=""><figcaption></figcaption></figure>

* Click on client secrets and new client secret
* Add the description and an expiry date
* Now you will get a `value` which is the secret


---

# 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.extrahorizon.com/extrahorizon/services/access-management/auth-service/open-id-connect/azure-adfs.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.
