---
title: "Single sign-on (SAML, OpenID) for your app"
description: "Let your app's users sign in with SAML or OpenID through your identity provider, such as Okta or Microsoft Entra ID: setup, routing by email domain and limits."
canonical: "https://docs.softr.io/apps/single-sign-on"
updated: "2026-12-04"
---

# Single sign-on (SAML, OpenID) for your app

Single sign-on (SSO) lets the people who use your app sign in with the account they already have at work, such as Microsoft, Google Workspace or Okta. Your IT team stays in control of who has access, and your users have one less password to manage.

This page covers the setup that is the same for every identity provider, then gives provider examples.

> **Note**
>
> SSO (SAML and OpenID) is available on the [Enterprise plan](https://www.softr.io/pricing). On another plan, [contact sales](https://www.softr.io/contact-sales) to discuss enabling it.

> **Warning**
>
> This page covers SSO for the users of your app. To let the collaborators who build apps sign in to Softr Studio through your identity provider, see [SSO for Softr Studio](/admin/studio-sso).

## How SSO works

In SSO terms, your Softr app is the service provider (SP). Your identity provider (IdP) holds the accounts and checks the credentials. When someone signs in:

1. They open your app and select **Continue with SSO** on the login screen.
2. Softr hands them off to your identity provider.
3. The identity provider authenticates them, including any MFA, conditional access or device policy you enforce there.
4. The identity provider sends Softr a signed response with the person's email and name.
5. Softr signs them in and matches them to a user in your app.

Step 3 happens on your side. Everything your IT team already enforces applies to your app too, such as MFA, session policy and deprovisioning when someone leaves. Softr never handles a password.

![Diagram of the SSO flow between a Softr app and an identity provider](/add-and-manage-users/single-sign-on-overview/sso-flow.webp)

_The SSO handoff between a Softr app and an identity provider._

## SAML or OpenID

Softr supports both standards, and you pick one per app. Most providers support both. If you have no preference, use the default path in your provider's documentation.

|                                | SAML                                                                                  | OpenID (OIDC)                                                                        |
| ------------------------------ | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| What it is                     | An XML-based standard for exchanging authentication assertions                        | An identity layer on top of OAuth 2.0                                                |
| What you give your provider    | **ACS URL** and **Audience URL**                                                      | **Callback URL**                                                                     |
| What you paste back into Softr | **Metadata.xml**, plus the **Email**, **First name** and **Last name** attribute keys | **Provider URL**, **Token service URL**, **Client ID**, **Client secret**            |
| Typical providers              | Microsoft Entra ID (Azure AD), Okta, OneLogin, Google Workspace, Shibboleth, Keycloak | Outseta, Auth0, Keycloak, and any provider that publishes an OIDC discovery endpoint |

> **Tip**
>
> When your provider has a catalog entry for SAML apps, SAML is usually faster. The provider generates the metadata, and you paste one XML document into Softr.

## Before you start

You switch between two browser tabs during the setup. Have these ready:

- Admin access to your identity provider. You need to create a new application there (some providers call it an app integration, enterprise application or OAuth client) and set which attributes it sends.
- A choice between SAML and OpenID. You can change it later, but you then redo the setup at your provider.
- The email domains your users sign in with, such as `acme.com` and `acme.co.uk`. They are optional, but they change how the login screen behaves. See [Route users to SSO automatically](#route-users-to-sso-automatically).
- A plan for user groups. SSO decides who gets in. It does not decide what each person sees. Plan how signed-in users map to [user groups](/apps/user-groups) before you roll SSO out.

## Set up SSO

1. **Open your app's authentication settings**

   In Softr Studio, open your app and go to the **Users** tab, then the **Authentication** tab. This is where every login method for the app is managed.

   ![The Authentication tab in Softr Studio](/add-and-manage-users/single-sign-on-overview/authentication-tab.webp)

   _The Authentication screen, where all of an app's login methods are configured._
2. **Turn on Single Sign-on**

   In the **Authentication method** list, switch the **Single Sign-on** toggle on. The **Single sign-on** configuration window opens straight away. Once the method is on, a gear icon appears next to it. Select it to reopen the configuration at any time. An amber dot next to **Single Sign-on** means the method is enabled but not yet fully configured.

   ![Single Sign-on enabled in the Authentication method list](/add-and-manage-users/single-sign-on-overview/enable-sso-toggle.webp)

   _The Single Sign-on toggle in the Authentication method list._
3. **Choose your SSO type**

   At the top of the window, set **SSO type** to **SAML** or **OpenID**. The fields below change to match your choice.

   ![SSO type dropdown showing SAML and OpenID](/add-and-manage-users/single-sign-on-overview/sso-type-dropdown.webp)

   _The SSO type dropdown, offering SAML and OpenID._
4. **Share Softr's details with your identity provider**

   Under **1. Share the following details with your identity provider**, Softr shows the values your IdP needs in order to trust your app. Copy each one with the button at the end of the field.

   **SAML**

   - **ACS URL**: The Assertion Consumer Service sign-in URL, in the form `https://<your-app>.softr.app/saml/SSO`. Your identity provider posts its response here. Some providers call this the _Reply URL_, _Recipient_, or _Single sign-on URL_.
   - **Audience URL**: The entity ID, a unique identifier for your app. Providers may label this _Audience (EntityID)_, _Identifier_, or _SP Entity ID_.

   **OpenID**

   - **Callback URL**: The redirect URI, in the form `https://<your-app>.softr.app/open-id/code`. Providers may label this _Redirect URI_, _Sign-in redirect URI_, or _Callback URI_.

   ![ACS URL and Audience URL fields in the Single sign-on window](/add-and-manage-users/single-sign-on-overview/saml-share-details.webp)

   _Softr shows the ACS URL and Audience URL to give to your identity provider._

   > **Note**
   >
   > If your app uses a [custom domain](/apps/custom-domain), confirm which hostname these URLs use before you register them with your provider. Your provider must trust the values Softr shows here.
5. **Create the application in your identity provider**

   Switch to your identity provider and create a new application, pasting in the URLs from the previous step. Then configure what the provider sends back:

   - **For SAML**: Add attributes for the user's email, first name, and last name, and make sure each is included in the SAML assertion. Note the exact attribute names. You need them in the next step.
   - **For OpenID**: Note the **Client ID** and **Client secret** the provider generates, along with its authorization and token endpoints.

   The [provider examples](#provider-examples) below cover this step for Microsoft Entra ID, OneLogin and Outseta. For another provider, use its documentation for adding a custom SAML or OIDC application with the same values.
6. **Enter your identity provider's details in Softr**

   Back in the **Single sign-on** window, fill in **2. Enter the following details from your identity provider**.

   **SAML**

   - **Metadata.xml**: Paste the full metadata XML document from your provider.
   - **Email key**, **First name key** and **Last name key**: the exact attribute names you configured in your identity provider, so Softr knows which claim holds which value.

   **OpenID**

   - **Provider URL**: Your provider's OpenID Connect issuer or authorization URL.
   - **Token service URL**: The endpoint Softr calls to exchange the authorization code for tokens.
   - **Client ID** and **Client secret**: the credentials generated when you created the OAuth client.

   ![OpenID configuration fields in the Single sign-on window](/add-and-manage-users/single-sign-on-overview/openid-fields.webp)

   _The OpenID fields: Provider URL, Token service URL, Client ID, and Client secret._
7. **Set your SSO email domains (optional)**

   In **SSO email domains**, list the domains your workforce signs in with, separated by commas, for example `acme.com, acme.co.uk`. If your app offers other login methods as well, anyone whose email address matches one of these domains is always sent to SSO instead. See [Route users to SSO automatically](#route-users-to-sso-automatically).
8. **Save and publish**

   Select **Save**. Then open the login page of your app in the preview to check that **Continue with SSO** now appears. Publish your app so the change reaches your users.

## What your users see

You do not add SSO to a page yourself. Softr AI builds the login page of your app, at `/login`. When SSO is on, the page shows a **Continue with SSO** button above the other sign-in methods.

![The login page of the Acme Portal app: Welcome back, with the Continue with SSO button outlined, then Or continue with email, an Email field and a Continue button](/apps/single-sign-on/sso-login-page.2x.webp)

To change the look of the login page, ask Softr AI, for example: "Add our logo above the login card."

### Route users to SSO automatically

The **SSO email domains** field decides how much choice your users get:

- Left empty: the login screen shows every enabled method side by side, and each person picks one.
- Filled in: anyone whose email matches a listed domain always goes to SSO, even when other methods are available. Use it when your workforce must go through the identity provider and external clients keep using email.

### How SSO users appear in your app

Signed-in users show up under **Users**, then **Users**, like any other user. The **Auth method** column shows how each person authenticates, so you can tell SSO users from users with email and password.

![The Users list with the Auth method column outlined. It shows Email code, SAML, Email/Password and Google.](/apps/single-sign-on/users-auth-method-column.2x.webp)

Once someone is signed in, what they see depends on [user groups](/apps/user-groups), [page visibility](/apps/access-overview) and [global data restrictions](/apps/global-data-restrictions). Configure those before you invite your users.

> **Note**
>
> To let the identity provider create, update and deactivate users automatically, see [SCIM user provisioning](/admin/scim). It is also on the Enterprise plan.

## Use SSO with other sign-in methods

SSO does not have to be the only way in. Each method in the **Authentication method** list is independent, so one app can offer SSO for employees and email sign-in for external clients.

- **SSO email domains** override the choice for matching addresses, as described above.
- To remove a method for the whole app, switch it off in **Users**, then **Authentication**. In Classic apps, hiding a method under **Log in flows** changes only that login screen.

## Turn SSO off

Switching **Single Sign-on** off asks you to type `Remove Single Sign-on` to confirm, because it can lock people out.

> **Warning**
>
> Users who only ever signed in through your identity provider may no longer be able to log in. Give them another way in, or confirm that you want to revoke their access, before you confirm.

## Limits

- Softr is the service provider, never the identity provider. Your identity provider can sign people in to Softr. A Softr login cannot sign people in to other platforms.
- Each app has one SSO configuration. The window holds a single identity provider. **SSO email domains** accepts several domains for that one provider. It does not connect several providers to one app.
- The configuration belongs to the app, not to the workspace. A duplicated app does not inherit a working SSO setup. Register the new app's ACS or Callback URLs with your provider.

## Provider examples

Your identity provider's documentation is the authority on its half of the setup. These examples show the values to use.

### Microsoft Entra ID (SAML)

[Microsoft Azure](https://azure.microsoft.com/en-us/) provides SAML single sign-on through its directory service, Microsoft Entra ID (formerly Azure Active Directory). Follow the [Set up SSO](#set-up-sso) steps in Softr and these steps in Azure.

1. **Create an application**

   In your Azure dashboard, open **Enterprise Applications**.

   ![Enterprise applications](/add-and-manage-users/microsoft-azure-saml-single-sign-on/image1.webp)

   _Enterprise applications_

   Select **New Application**.

   ![New application](/add-and-manage-users/microsoft-azure-saml-single-sign-on/image2.webp)

   _New application_

   In the app gallery, search for **Azure AD SAML Toolkit** and select it.

   ![Locating Azure AD SAML Toolkit](/add-and-manage-users/microsoft-azure-saml-single-sign-on/image3.webp)

   _Locating Azure AD SAML Toolkit_

   In the sidebar, enter a name for your app and select **Create**.

   ![Creating the application](/add-and-manage-users/microsoft-azure-saml-single-sign-on/image4.webp)

   _Creating the application_
2. **Start the single sign-on setup**

   On the **Overview** screen of the new application, select **Get started** under **Set up single sign on**.

   ![Getting started with single sign-on setup](/add-and-manage-users/microsoft-azure-saml-single-sign-on/image5.webp)

   _Getting started with single sign-on setup_

   Select the **SAML** method.

   ![Selecting the single sign-on method](/add-and-manage-users/microsoft-azure-saml-single-sign-on/image6.webp)

   _Selecting the single sign-on method_
3. **Fill in the basic SAML configuration**

   Select **Edit** at the top right of **Basic SAML Configuration**.

   ![Basic SAML configuration](/add-and-manage-users/microsoft-azure-saml-single-sign-on/image7.webp)

   _Basic SAML configuration_

   Paste the **Audience URL** from your Single sign-on window into **Identifier (Entity ID)**.

   ![Adding the Entity ID](/add-and-manage-users/microsoft-azure-saml-single-sign-on/image8.webp)

   _Adding the Entity ID_

   Paste the **ACS URL** into **Reply URL (ACS URL)**. Leave the **Index** field empty.

   ![Adding the ACS URL](/add-and-manage-users/microsoft-azure-saml-single-sign-on/image9.webp)

   _Adding the ACS URL_

   Paste the URL of your app's **Log in** page into **Sign on URL**.

   ![The Log in page of the Softr app with an SSO sign-in button](/add-and-manage-users/microsoft-azure-saml-single-sign-on/image10.webp)

   _The Log in page of the Softr app_

   ![Adding the Sign on URL](/add-and-manage-users/microsoft-azure-saml-single-sign-on/image11.webp)

   _Adding the Sign on URL_

   Select **Save** and close the sidebar.
4. **Copy the attribute keys**

   Under **Attributes & Claims**, copy the **First Name**, **Last Name** and **Email** keys from Azure. Paste them into the **First name key**, **Last name key** and **Email key** fields of your Single sign-on window.

   ![Getting the keys from Azure](/add-and-manage-users/microsoft-azure-saml-single-sign-on/image12.webp)

   _Getting the keys from Azure_

   ![The Single sign-on window with the Email key, First name key and Last name key filled in. The key fields are outlined.](/apps/single-sign-on/saml-key-fields.2x.webp)
5. **Add the metadata XML**

   Under **SAML Certificates**, download the **Metadata XML file** in Azure. Open it in a text editor, copy its entire content, and paste it into the **Metadata.xml** field in Softr.

   ![Downloading the metadata XML](/add-and-manage-users/microsoft-azure-saml-single-sign-on/image14.webp)

   _Downloading the metadata XML_

   ![The Single sign-on window with the metadata XML pasted in the Metadata.xml field. The field is outlined.](/apps/single-sign-on/saml-metadata-xml.2x.webp)
6. **Assign users to the application**

   A user must be assigned to your Azure application to sign in. In your Azure application, open **Users and groups** and add the user.

   ![Assigning a user to your application](/add-and-manage-users/microsoft-azure-saml-single-sign-on/image16.webp)

   _Assigning a user to your application_

   The assigned user can now sign in to your app with single sign-on.

   ![Signing in with Active Directory credentials](/add-and-manage-users/microsoft-azure-saml-single-sign-on/image17.webp)

   _Signing in with Active Directory credentials_

### OneLogin (SAML)

In your OneLogin application, open **Configuration** and fill in these fields with the values from your Single sign-on window:

- **Audience (EntityID)**
- **Recipient**
- **ACS (Consumer) URL Validator**
- **ACS (Consumer) URL**

### Outseta (OpenID)

[OpenID Connect (OIDC)](https://openid.net/connect/) is an identity layer on top of [OAuth 2.0](https://oauth.net/2/). Softr works with any provider that follows the standard. This example uses Outseta membership software, so your users sign in to your app with their Outseta credentials.

![The Single sign-on window with SSO type set to OpenID. The Callback URL field is outlined.](/apps/single-sign-on/openid-callback-url.2x.webp)

1. **Copy the Callback URL**

   In the Single sign-on window, with **SSO type** set to **OpenID**, copy the **Callback URL**.
2. **Add an OAuth client in Outseta**

   In Outseta, go to **Settings**, then **Integrations**, then **OAuth**, and select **Add OAuth Client**.

   ![Adding an OAuth client](/apps/single-sign-on/outseta-add-oauth-client.webp)

   _Adding an OAuth client_

   Enter a **Name** and paste the Callback URL. Leave the **Logout Redirect URL** empty.

   ![Configuring the OAuth client](/apps/single-sign-on/outseta-oauth-client-form.webp)

   _Configuring the OAuth client_

   Select **Add**. The window expands and shows the **Integration Details**. Copy the **Client Id** and **Client Secret**.

   ![Integration details](/apps/single-sign-on/outseta-integration-details.webp)

   _Integration details_
3. **Add the credentials in Softr**

   Paste the **Client ID** and **Client secret** into the Single sign-on window.

   ![The Single sign-on window with the Client ID and Client secret fields outlined.](/apps/single-sign-on/openid-client-id-secret.2x.webp)

   Enter your Outseta address in **Provider URL**, in the form `https://yourname.outseta.com/connect`. Replace `yourname` with your own Outseta domain. Select **Save**.
4. **Test the sign-in**

   Publish your app. On the login page, select **Continue with SSO**, then sign in with the credentials of a contact from your Outseta account.

   ![The People list in Outseta with one contact, maria.stone@acme.com](/apps/single-sign-on/outseta-contact.webp)

   _A contact in Outseta_

   When a user signs in with their Outseta credentials, Softr creates a [user](/apps/users) in your app.

### Provider documentation

- Microsoft Entra ID: [Enable SAML single sign-on for an enterprise application](https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/add-application-portal-setup-sso)
- Okta: [Create SAML app integrations](https://help.okta.com/en-us/content/topics/apps/apps_app_integration_wizard_saml.htm)
- Google Workspace: [Set up your own custom SAML app](https://support.google.com/a/answer/6087519)
- OneLogin: [SAML Custom Connector (Advanced)](https://support.onelogin.com/kb/4266907/saml-custom-connector-advanced)
- Auth0: [Configure applications with OIDC Discovery](https://auth0.com/docs/get-started/applications/configure-applications-with-oidc-discovery)
- Outseta: [Log users into multiple products with OpenID Connect SSO](https://go.outseta.com/support/kb/articles/amRZYjmJ/log-users-into-multiple-products-with-openid-connect-single-sign-on-sso)

## Related

[**User authentication**](/apps/user-authentication)

How sign-in works in your app.

[**Google sign-in**](/apps/google-sign-in)

A lighter option for people with a Google account.

[**SCIM user provisioning**](/admin/scim)

Provision and deprovision users from your identity provider.

[**SSO for Softr Studio**](/admin/studio-sso)

SSO for the collaborators who build your apps.

## FAQ

**How does single sign-on work in Classic apps?**

Classic apps are the older Softr apps, built from blocks before Softr AI. Classic apps support SAML and OpenID. Turn on **SSO** in **Users**, then **Authentication**, and enter the settings from your identity provider. You can combine SSO with other login methods. You can also send users to different sign-in methods based on their email domain. The login screen is the **Sign In** block of the **Log in** utility page, where **Log in flows** shows or hides each method. For plan availability, see the [Softr pricing page](https://www.softr.io/pricing).
