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

oauth-proxy/flow

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

OAuth Proxy flow overview

The OAuth Proxy plugin flow works as follows: (1) Preview server initiates OAuth, redirecting to the OAuth provider with production's redirect URI. (2) OAuth provider callbacks to production server. (3) Production server exchanges the code for tokens and fetches user info. (4) Production server encrypts the profile data and redirects to preview server without writing to the production database. (5) Preview server decrypts the profile, creates user/session in its own database, and sets the session cookie.

OAuth Proxy preview deployment isolation

The encrypted profile data passed via URL query parameters allows preview deployments to use separate databases from production. This is possible because the data can only be decrypted by servers sharing the same secret.

Give your agent this brain