Authentication (/apps/:app/authentication) sets how people sign in to one app. A preview beside the settings shows the Auth flow (sign in, second step, signed in) or the Sign-in page, and updates as you change things. Changes save with the save bar.
Ways to sign in#
| Method | Setting |
|---|---|
| Magic link (a link to their inbox) or Code (a 6 or 8 digit code). | |
| Phone | A code by text message. While off, phone codes are refused. |
| Passkeys | Face ID, Touch ID, Windows Hello or a security key. |
At least one way must stay on. The page says "Nobody can sign in" and will not save otherwise; the API refuses it too. When SAML signs people into this app, SAML counts as a way in, so email can be turned off. Turning email or phone off is enforced: Scute refuses that method with sign_in_method_disabled.
Social sign-in#
Every OAuth provider Scute supports (Google, Microsoft, Apple, GitHub, GitLab, Slack and others), each marked on, Set up, turned off or Not set up. Set up takes the provider's client ID and secret and shows the callback URL to register with the provider. Edit replaces them; a saved secret is never shown again. Remove deletes the client ID and secret saved here; you type the provider's name to confirm.
Sign-ups#
Anyone can sign up: on, new people make an account on their first sign-in. Off, only people you invite or import. See Restrictions for what they have to give and from which countries.
Second step (MFA)#
Who's asked:
| Option | Meaning |
|---|---|
| Off | Nobody is asked. |
| Optional | People who turn it on. |
| Required | Everyone, every sign-in. |
What they can use: Authenticator app, Email code, SMS code, Backup codes. Pick at least one. An email code cannot be the second step after an email link or code, so the page warns when people who sign in by email would have nothing to use.
Rules:
- A passkey counts as both: signing in with a passkey skips the second step.
- Time to set it up: 0 to 30 days when MFA is required. Until then they can sign in without it. 0 asks on their next sign-in.
- Ask users to verify again after: 5 to 60 minutes (default 10). How recently they must have signed in to change their own MFA.
Sessions#
| Setting | Default | Notes |
|---|---|---|
| Stay signed in for | 7 days | The refresh token. Then they sign in again. Warns over 30 days. |
| Sign out after inactivity | 7 days | A session not used or refreshed for this long ends. 5 minutes to 400 days. Warns over 90 days. |
| Access token lasts | 1 hour | Shorter is safer; the SDK refreshes it. Warns at a day or more. |
| Refresh automatically | Keep people signed in while they use the app. |
More session settings:
- Magic links work for: default 10 minutes. Warns over 6 hours.
- Codes work for: email and SMS codes, default 10 minutes. Warns over 30 minutes.
- Code length: 6 or 8.
- Refresh token in the response: off keeps it in an httpOnly cookie only. Needs refreshing on.
Each lifetime is a slider of set values or a number of seconds typed in. Long values get a warning, unsafe ones a stronger one.
Signing in as users#
Only workspace admins see and change this.
- Let your team sign in as a user: for support. They give a reason, the session is short and never refreshed, and it goes in the audit log.
- Longest session: 5 minutes to 4 hours. It ends then, whatever they are doing.
- Protected roles: nobody can sign in as someone with one of these roles.
Signing in as a user starts from the person's page. See User detail.
Who can use it#
Owners and admins change these settings. Other roles see them read only.
The same settings are available through the API. See the API reference.