> For the complete documentation index, see [llms.txt](https://docs.1kosmos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.1kosmos.com/integrations/authentication/external-identity-provider-sso-federation.md).

# External Identity Provider (SSO Federation)

***

The role 1Kosmos plays (Service Provider, Identity Provider, or External Authentication Method) determines which side initiates and which side authenticates.

| Your scenario                                     | 1Kosmos role                         | External system            | Protocol | Guide                                                                                                                                             |
| ------------------------------------------------- | ------------------------------------ | -------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| Sign users in to 1Kosmos using Microsoft Entra ID | Service Provider (SP)                | Microsoft Entra ID (Azure) | SAML     | [Microsoft Azure as an External Identity Provider](broken://spaces/5DFSjLrGww16mwRQ5csY/pages/r03rNXmukmsHipSmxHxu)                               |
| Sign users in to 1Kosmos using Okta               | Service Provider (SP)                | Okta                       | SAML     | [Okta as an External Identity Provider in 1Kosmos](broken://spaces/5DFSjLrGww16mwRQ5csY/pages/UzU057NeFHc2aKoyqsZp)                               |
| Add 1Kosmos from the Okta catalog (prebuilt app)  | Service Provider (SP)                | Okta                       | SAML     | [1Kosmos as a Service Provider in Okta](broken://spaces/5DFSjLrGww16mwRQ5csY/pages/ZW20yfc7LZHYvKiOgpQh)                                          |
| Use 1Kosmos to sign users in to Okta              | Identity Provider (IdP)              | Okta                       | SAML     | [1Kosmos as an External Identity Provider in Okta](broken://spaces/5DFSjLrGww16mwRQ5csY/pages/ZW20yfc7LZHYvKiOgpQh)                               |
| Add 1Kosmos as an MFA method for Entra ID         | External Authentication Method (EAM) | Microsoft Entra ID         | OIDC     | [Setting up 1Kosmos as an External Authentication Method for Microsoft Entra ID](broken://spaces/5DFSjLrGww16mwRQ5csY/pages/nvgJaEMLYgf2bdRzFXwt) |

{% hint style="info" %}
**Note:** Just-In-Time (JIT) provisioning is not supported. Users who need to be redirected to an external Identity Provider must be pre-created within the IdP store or connected through a directory.
{% endhint %}


---

# 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.1kosmos.com/integrations/authentication/external-identity-provider-sso-federation.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.
