# Configuring SSO

OpenIAM supports **single sign-on (SSO)** for connected applications.

You can configure SSO in two ways:

* **Federation protocols** such as **SAML 2.0**, **OAuth 2.0**, and **OpenID Connect (OIDC)**
* [**Reverse proxy**](/sso-to-legacy-applications.md) for legacy applications

Federation is the most common SSO model in OpenIAM. It lets applications trust OpenIAM for authentication and token issuance.

### Federation protocols

Use federation when your application supports standard identity protocols.

* [OAuth 2.0](/federation/oidc-and-oauth-integration.md) — use this for delegated authorization and API access.
* [OIDC and OAuth integration](/federation/oidc-and-oauth-integration.md) — use this when the application needs both authentication and OAuth-based access.

### Reverse proxy

Use reverse proxy for older applications that do not support modern federation protocols.

### Choose the right model

* Use **SAML 2.0** for enterprise SSO integrations.
* Use **OAuth 2.0** for API authorization.
* Use **OIDC** when the application needs user authentication on top of OAuth 2.0.


---

# 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-beta.openiam.com/federation/configuring-sso-1.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.
