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

one-tap/configuration

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

One Tap fedCM option

The fedCM option (default true) in promptOptions calls navigator.credentials.preventSilentAccess() on sign-out to clear the browser's FedCM credential state when enabled. FedCM itself is managed by the Google Identity Services library.

One Tap client configuration options

Client plugin accepts: clientId (required), autoSelect (boolean, default false), cancelOnTapOutside (boolean, default true), context (string: 'signin', 'signup', or 'use', default 'signin'), additionalOptions (object for Google initialize method), and promptOptions (object with baseDelay in ms, default 1000, and maxAttempts, default 5).

One Tap server options

Server plugin options include: disableSignUp (boolean, default false) to allow only existing users to sign in, and optionally clientId if not provided in social provider configuration.

One Tap uxMode option

The uxMode option can be 'popup' (default) or 'redirect' to specify the Google One Tap flow mode.

One Tap Google Workspace domain restriction

The One Tap callback applies hosted-domain restriction from socialProviders.google.hd. When hd is set to a domain, tokens missing the hd claim or with non-matching hd are rejected. Set hd to '*' to allow any Google Workspace hosted domain while rejecting tokens with no hd claim. Restriction only applies when socialProviders.google is configured; setting only oneTap({ clientId }) without socialProviders.google applies no restriction.

One Tap cancelOnTapOutside behavior with FedCM

The cancelOnTapOutside option may not have an effect when FedCM is active, as the browser manages the dismiss behavior.

One Tap requires authorized JavaScript origins

Authorized JavaScript origins must be configured in Google Cloud Console for the Client ID (e.g., http://localhost:3000, https://example.com). This is a required step for the Google One Tap API to function correctly.

Give your agent this brain