docs: add a User Authentication page for brokered app sign-in
Documents brokered end-user sign-in for generated apps: adding it, choosing who is admitted, the user list and CSV export, blocking somebody, the sign-in page's presentation, and removing it. New page at docs/ai_builder/features/user_authentication.md, registered in the AI Builder sidebar.
The product side shipped in flexgen (#5388 and the tickets under Brokered App Auth); this is the customer-facing half of ENG-11866.
What the page is careful about
Each of these is a support ticket if left implicit, so each is stated rather than implied:
- On Free, an app admits anyone with a Reflex account. Adding sign-in makes an app know who somebody is, not private. Narrowing the audience is the Pro control (ENG-12167), so that appears in the plan callout and again as a warning. It is the single most likely misreading of the feature.
- Narrowing signs everyone out, not only the people the new setting excludes.
- A session lasts at most 7 days, whatever the token lifetimes suggest, because
reflex-enterprisestores its renewal credential in a cookie with a 7 daymax_age. Documenting "30 day refresh token" would be a promise we do not keep. - A block takes up to 30 minutes to reach a session already running, since userinfo is cached for that long.
The security note tells people to decide what somebody may do in backend code. The frontend can keep a page out of sight but not the data out of reach, and that is the mistake an agent-built app is most likely to make.
Plan wording
Follows automated_provisioning.md in naming the tier outright rather than the older "available on supported plans" phrasing. Here the free/Pro split is the shape of the feature, so vagueness would read as sign-in itself being gated, which is the opposite of true.
Screenshots
Captured from the real Auth panel against seeded data rather than mocked up, each framed on its own card. The alt text was written first and used as the shot list, so it describes what is actually in each frame.
Assets are live on the CDN and verified by etag against the local bytes.
Checks
pre-commit run --files passes on both files, and the page renders through the flexdown parser (which is what catches a malformed alert block or table).