> For the complete documentation index, see [llms.txt](https://docs.extrahorizon.com/extrahorizon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.extrahorizon.com/extrahorizon/services/access-management/auth-service/open-id-connect/azure-adfs.md).

# 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
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 dynamically by asking a question.

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

```
GET https://docs.extrahorizon.com/extrahorizon/services/access-management/auth-service/open-id-connect/azure-adfs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
