Sign-in locks that hold, and a captcha where Turnstile cannot run
Password and code limits hold under bursts and over a day, sign-in answers give less away, and apps Turnstile cannot reach get your Forms captcha.
Improved
8- AuthenticationWhen bot protection is on but Turnstile cannot run on an app's sign-in address, such as a custom domain with no Turnstile keys, the hosted page now asks for your Forms captcha wherever Turnstile would have asked. That covers password and guest sign-in, emailed codes and links, phone codes, and phone and wallet sign-up. Before, only sign-up was checked on such an app.
- AuthenticationBehaviour change: a sign-in screen of your own on such an app must send the captcha's answer as captchaToken, or it gets 403 bot_check_failed (bot_check_required on password sign-in). GET /api/v1/auth/config names the captcha to show in botCheckCaptcha. Requests without an answer were let through for the first 72 hours after the update, and a self-hosted install gets the same 72 hours from the first such request it sees.
- ConsoleThe Bot protection card now names each app Turnstile cannot check, with its domain, and says those apps use your Forms captcha. Before, it read only your organization's default address, so it could say every app was protected.
- AuthenticationBehaviour change: POST /api/v1/auth/magic-link now answers 403 with reason method_unavailable when the app does not offer sign-in links, or its magic-link method sends codes only. Before, the link was sent anyway.
- AuthenticationBehaviour change: changing a person's email address or phone number now needs a sign-in in the last 10 minutes, as removing the phone already did; guests are not asked. Otherwise POST /api/v1/public/profile/email, /phone and their /confirm steps answer 403 reauth_required with maxAgeSeconds, which @buildbase/sdk 1.5.0 reads. While text-message codes are the person's second step, replacing the phone answers 409 mfa_sms_enrolled and sends no text.
- AuthenticationStarting a social sign-in, GET /api/v1/auth/social/:slug/:orgId/:methodId, is now limited to 30 a minute per IP address. Its redirect may be at most 2,048 characters, and authStateId and invitationToken 128 each. A longer one answers 400.
- FormsA form's Block disposable emails rule and the contact import's Throwaway email address check now use the same list as sign-up, about 9,900 domains and their subdomains. Before, they checked a list of 70, so an address the sign-up page refused could still go through a form and into a contact list.
- UsersJoining your waitlist with POST /api/v1/beta/submit now takes a name of at most 200 characters, an email of 254, and a timezone, language, country and currency of 64 each. A longer value answers 400. Entries stored before can still be read and edited.
Fixed
8- SecurityTen wrong passwords now lock the account even when they all arrive at once. Before, tries sent together were each checked while the count still read under the limit, so 30 at once got 30 checks. The signed-in change-password check counts the same way.
- SecurityWrong second-step codes now have a daily cap beside the 10 per 15 minutes: after 50 within a day of the first, the account takes no more codes until that day is up. Before, the 15-minute count reset to zero, which allowed about 960 guesses a day to someone holding the password. Only a correct code clears the count, and the lock message, in all eight languages of the hosted page, no longer promises a wait of 15 minutes.
- AuthenticationThe hourly limit on codes and links emailed to one address, and the 30-second wait between email codes, now count the inbox, not the spelling. So [email protected] shares a limit with [email protected], and on Gmail n.ame@ does too. When a code was refused for that limit or could not be sent, asking again no longer waits out the 30 seconds.
- SecurityAsking for an email code, a magic link or a password reset code now answers in the same time whether or not the address has an account, even when sending is slow. Before, a slow send could make an address with an account answer later. A password sign-in with &, < or > in it now takes as long for an unknown address as for a real one.
- SecurityAsking for a new magic link now retires the previous one for good. Before, an older link could still sign in although the page said it had expired, and two links asked for in the same second were the same link.
- Sign-in pageWith bot protection on, password sign-up now works on an app that signs in on a custom domain without Turnstile keys. The sign-up page fetched its captcha challenge for your organization's default address, got 404, and every sign-up there failed.
- AuthenticationAfter a password reset or change, the old password now stops working at once, and a saved two-step or security setting applies at once. Before, a sign-in landing at the same moment could keep the old password working for up to five minutes, or the old setting for up to an hour.
- SecurityA console Sign in as user session can no longer change the person's email, phone, password, two-step or passkeys by writing the request's address in capitals. Those changes were already refused for such a session, but only in lower case.