new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Better Auth · Plugins · all subjects

email-otp/signin

3 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Email OTP sign-in endpoint

POST /sign-in/email-otp accepts: email (string, required, defaults to 'user@example.com'), otp (string, required, defaults to '123456'), name (string, optional, used only for first-time registration, defaults to 'John Doe'), and image (string, optional, user profile image URL used only for first-time registration, defaults to 'https://example.com/image.png').

Email OTP auto-registration on sign-in

If the user is not registered when signing in with email OTP, they are automatically registered. Configured additional fields are also accepted for new users. To prevent automatic sign-up, pass disableSignUp as true in the plugin options.

Email OTP sign-in with unverified pre-existing account

When a sign-in OTP confirms a pre-existing account whose email was never verified, any existing password on that account is removed and its sessions are revoked. The user is signed in through the OTP and can set a new password through password reset. This keeps email ownership proven by the OTP as the source of truth for the account.

Give your agent this brain