CommunityHire an ExpertSign Up
AppsUser authentication
Users and sign-in

User authentication: how users sign up and sign in to your app

Decide who can enter your app and how: login on or off, sign-in methods, who can sign up, two-factor authentication, onboarding flows and user sessions.

User authentication decides who can enter your app and how. When you describe an app where people sign in, Softr AI adds the sign-in and sign-up pages. The settings on this page decide how they behave, and you can change them at any time.

Open them in the Users tab of your app, under Authentication.

The Authentication tab of the Users settings, with Login enabled, the list of authentication methods and the sign-up options. The Authentication tab is outlined.

Turn login on or off

Under Login, choose whether people sign in:

  • Disabled: nobody signs in, and every page is public. Use it for a public directory, a catalog or a form.
  • Enabled: people sign in to reach the pages you keep for signed-in users. You can still keep some pages public, such as a landing page or a contact form.

Which pages need a sign-in is set page by page, with each page’s Visibility. See Access overview.

Authentication methods

Under Authentication method, turn on the methods your users can sign in with. The sign-in page offers each method you turn on. Select the gear icon of a method to change its settings.

MethodHow the user signs inSet it up
Email (standard sign-in)Their email, with a one-time code, a password, or bothStandard sign-in
Single Sign-onYour company’s identity provider, with SAML or OpenID: Okta, Microsoft Entra ID, Google Workspace and othersSingle sign-on
Google Sign-inTheir Google accountGoogle sign-in
Permanent login linkA personal link that signs them in with one clickAdd and manage users

Authenticator app (2FA) is in the same list. See Two-factor authentication.

Sign-in with a password works on every plan. One-time codes and Google sign-in need the Pro plan or above, and single sign-on the Enterprise plan. See the pricing page.

Pick the methods your users already know. A team that uses Microsoft 365 every day signs in fastest with single sign-on. Clients who come once a month sign in fastest with a one-time code.

The sign-in page of a client portal: Welcome back, an Email field and a Continue button

The sign-in page of an app with Email turned on

Who can sign up

Under Sign up, choose who can create an account on their own:

OptionWho can sign up
DisabledNobody. You control who gets invited. See Add and manage users
OpenAnyone
Domain restrictedOnly people with an email on the domains you list in Allowed email domains, such as acme.com. Business and Enterprise plans

Who can get in under each sign-up option. Disabled: only maria@acme.com, who was invited. Open: anyone, including daniel@northwind.example and ana@gmail.com. Domain restricted to acme.com: only maria@acme.com

A new user who signs up confirms their email with a one-time code first. To put new users in the right user group from the start, use condition-based user groups. See User groups.

Onboarding flows

Onboarding flows show new users the steps to complete after they sign up, such as filling in their profile. Apps built with Softr AI do not have this setting. Classic apps show an Onboarding flows section with an Assign flows button.

Two-factor authentication

Two-factor authentication asks for a second proof after the first sign-in step. It needs the Business plan or above. Two ways are available:

  • Authenticator app (2FA): the user enters a code from an authenticator app, such as Google Authenticator or 1Password. They pair the app the first time they sign in, and get backup codes to print or download.
  • Password and code together: with standard sign-in, require both methods. See Standard sign-in.

A user who resets or removes their authenticator app must confirm their email with a one-time code first.

Sessions

SettingWhat it does
Log user outSigns users out after a fixed time: every 24 hours, 7 days, 30 days or 90 days
End session if idleSigns out users who do nothing for a time, from 5 minutes to 3 hours, or Never
Log user out when country changesSigns out a user whose connection moves to another country

Short sessions protect apps with sensitive data, such as HR or finance apps. Long sessions suit apps people open every day.

Customize the emails

Softr sends the codes, the invitations and the password resets. To change their text and send them from your own address, see User emails.

FAQ

How does user authentication work in Classic apps?

Classic apps are the older Softr apps, built from blocks before Softr AI. Open the Users tab, then Authentication. There you turn login on or off and choose the methods: email with a password or a one-time code, single sign-on, Google sign-in or magic links. Using a password and a one-time code together gives two-factor authentication. You also choose who can sign up (disabled, open or domain restricted) and when users are logged out. Classic apps built before February 12, 2025 use sign-in blocks until you migrate. See Migrating app versions.

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.