Two-step sign in
After the password, Yawl asks for a 6 digit code from an authenticator app (Google Authenticator, 1Password, Authy and the like). Yawl sends nothing: no SMS, no mail.
Turning it on
Account (top right), Two-step sign in, Turn on. Scan the QR code with the app, or type the key under it. Enter the code the app shows, then save the ten recovery codes: they are shown once. I saved them finishes.
Signing in
Email and password, then Enter the code from your authenticator app. Each code works once. Without the phone, press Use a recovery code: each recovery code also works once. The sign in screen stays open 5 minutes and takes 5 tries; wrong codes count toward the same limit as wrong passwords. A session still lasts 30 days.
Account says how many recovery codes are left. Once two-step is on, a new secret (Move to a new phone) needs a code from the old phone or a recovery code, and none of these changes can be made with an API token. New recovery codes makes a new set, after a code, and the old set stops working.
Required for everyone
Team, Members, Require two-step sign in for everyone. You must have it on yourself first. From then on, a member without it is asked to set it up right after the password, before any page, and their open sessions end at once. Someone who joins by an invite sets it up before they get in. While it is required, nobody can turn their own off.
A lost phone
-
With a recovery code: sign in with it, then Account, Move to a new phone: enter another recovery code, scan the new QR with the new phone. This works also while two-step sign in is required. The same button moves to a new phone while the old one still works, with a code from it.
-
Without: an Admin opens Team, Members and presses Turn off in that person’s row. They sign in with the password and set it up again. An Admin cannot do this for themself.
-
No Admin can sign in: on the panel’s machine, run
yawl server reset-2fa you@example.comIt turns two-step off for that person and ends their sessions.
A forgotten password
On the panel’s machine, run
yawl server reset-password you@example.com
It prints a link, <panel>/reset#<token>, good once for one hour; a newer link ends the older one. It never prints or sets a password. Open the link, type the new password twice, then sign in with it. Using the link ends that person’s other sessions. Two-step sign in stays on if it was on. An expired or used link says so: run the command again.
Each of these, and turning it on or off, is in the audit log.
What does not change
API tokens and yawl login work as before: a token is made by someone already signed in, and yawl login is approved in a signed-in browser.