CommunityHire an ExpertSign Up
Sign-in methodsSingle sign-on (SSO)
Sign-in methods

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

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.

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.

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

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.

SAMLOpenID (OIDC)
What it isAn XML-based standard for exchanging authentication assertionsAn identity layer on top of OAuth 2.0
What you give your providerACS URL and Audience URLCallback URL
What you paste back into SoftrMetadata.xml, plus the Email, First name and Last name attribute keysProvider URL, Token service URL, Client ID, Client secret
Typical providersMicrosoft Entra ID (Azure AD), Okta, OneLogin, Google Workspace, Shibboleth, KeycloakOutseta, Auth0, Keycloak, and any provider that publishes an OIDC discovery endpoint

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.
  • 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 before you roll SSO out.

Set up SSO

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

The Authentication screen, where all of an app's login methods are configured.

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

The Single Sign-on toggle in the Authentication method list.

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

The SSO type dropdown, offering SAML and OpenID.

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.

  • 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.
  • 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

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

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 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.

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.

  • 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.
  • 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

The OpenID fields: Provider URL, Token service URL, Client ID, and Client secret.

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.

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

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.

Once someone is signed in, what they see depends on user groups, page visibility and global data restrictions. Configure those before you invite your users.

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.

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 provides SAML single sign-on through its directory service, Microsoft Entra ID (formerly Azure Active Directory). Follow the Set up SSO steps in Softr and these steps in Azure.

Create an application

In your Azure dashboard, open Enterprise Applications.

Enterprise applications

Enterprise applications

Select New Application.

New application

New application

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

Locating Azure AD SAML Toolkit

Locating Azure AD SAML Toolkit

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

Creating the application

Creating the application

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

Getting started with single sign-on setup

Select the SAML method.

Selecting the single sign-on method

Selecting the single sign-on method

Fill in the basic SAML configuration

Select Edit at the top right of Basic SAML Configuration.

Basic SAML configuration

Basic SAML configuration

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

Adding the Entity ID

Adding the Entity ID

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

Adding the ACS URL

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

The Log in page of the Softr app

Adding the Sign on URL

Adding the Sign on URL

Select Save and close the sidebar.

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

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.

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

Downloading the metadata XML

The Single sign-on window with the metadata XML pasted in the Metadata.xml field. The field is outlined.

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

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

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) is an identity layer on top of OAuth 2.0. 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.

Copy the Callback URL

In the Single sign-on window, with SSO type set to OpenID, copy the Callback URL.

Add an OAuth client in Outseta

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

Adding an OAuth client

Adding an OAuth client

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

Configuring the OAuth client

Configuring the OAuth client

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

Integration details

Integration details

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.

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

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

A contact in Outseta

When a user signs in with their Outseta credentials, Softr creates a user in your app.

Provider documentation

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.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.