---
title: "User authentication: how users sign up and sign in to your app"
description: "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."
canonical: "https://docs.softr.io/apps/user-authentication"
updated: "2026-12-04"
---

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

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.](/apps/user-authentication/authentication-tab.2x.webp)

## 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](/apps/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.

| Method                       | How the user signs in                                                                                        | Set it up                                  |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------ |
| **Email** (standard sign-in) | Their email, with a one-time code, a password, or both                                                       | [Standard sign-in](/apps/standard-sign-in) |
| **Single Sign-on**           | Your company's identity provider, with SAML or OpenID: Okta, Microsoft Entra ID, Google Workspace and others | [Single sign-on](/apps/single-sign-on)     |
| **Google Sign-in**           | Their Google account                                                                                         | [Google sign-in](/apps/google-sign-in)     |
| **Permanent login link**     | A personal link that signs them in with one click                                                            | [Add and manage users](/apps/users#faq)    |

**Authenticator app (2FA)** is in the same list. See [Two-factor authentication](#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](https://www.softr.io/pricing).

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](/apps/create-your-app/app-sign-in-page.2x.webp)

_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:

| Option                | Who can sign up                                                                                                                   |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| **Disabled**          | Nobody. You control who gets invited. See [Add and manage users](/apps/users)                                                     |
| **Open**              | Anyone                                                                                                                            |
| **Domain restricted** | Only 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](/apps/user-authentication/sign-up-options.2x.webp)

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](/apps/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](/apps/standard-sign-in#choose-how-users-sign-in-with-their-email).

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

## Sessions

| Setting                               | What it does                                                                       |
| ------------------------------------- | ---------------------------------------------------------------------------------- |
| **Log user out**                      | Signs users out after a fixed time: every 24 hours, 7 days, 30 days or 90 days     |
| **End session if idle**               | Signs out users who do nothing for a time, from 5 minutes to 3 hours, or **Never** |
| **Log user out when country changes** | Signs 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](/apps/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](/classic/legacy-apps#migrating-app-versions).
