# SSO & SAML

1. Enable TLS (SSL) for Lenses HTTPS.
2. Create a keystore for SAML.
3. Choose your identity provider (IdP):

Set the following in the security.conf

{% code title="security.conf" %}

```properties
lenses.security.saml.keystore.location = "/path/to/lenses.p12"
lenses.security.saml.keystore.password = "my_password"
lenses.security.saml.key.password = "my_password"
```

{% endcode %}

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Azure SSO</strong></td><td>Configure Azure SSO for Lenses.</td><td><a href="/pages/hVyjtTLMAEteii105Elq">/pages/hVyjtTLMAEteii105Elq</a></td></tr><tr><td><strong>Google SSO</strong></td><td>Configure Google SSO for Lenses.</td><td><a href="/pages/ShjusYv9O8NqPzfeQuwZ">/pages/ShjusYv9O8NqPzfeQuwZ</a></td></tr><tr><td><strong>Keycloak SSO</strong></td><td>Configure Keycloak SSO for Lenses.</td><td><a href="/pages/GqRVuxjCDfNfINhFanSy">/pages/GqRVuxjCDfNfINhFanSy</a></td></tr><tr><td><strong>Okta SSO</strong></td><td>Configure Okta SSO for Lenses.</td><td><a href="/pages/yVu924ALp0nsyl47ePFO">/pages/yVu924ALp0nsyl47ePFO</a></td></tr><tr><td><strong>Onelogin SSO</strong></td><td>Configure Onelogin SSO for Lenses.</td><td><a href="/pages/25VQL6KQOV1Svpk8hnZ4">/pages/25VQL6KQOV1Svpk8hnZ4</a></td></tr></tbody></table>


---

# 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.lenses.io/latest/devx/5.5/deployment/configuration/iam/authentication/sso-and-saml.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.
