You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(auth): add oidcAuthorizeGate seam for OIDC OP app-assignment (ADR-0024 D5.1) (#2343)
better-auth's oauth-provider AUTHENTICATES a subject but does NOT AUTHORIZE it
against the requesting client — it issues a code to any logged-in user for any
registered client. This adds an optional host-supplied gate, invoked on
/oauth2/authorize for an authenticated subject before a code is issued, so a
multi-tenant OP (the cloud control plane) can enforce app-assignment
(org-membership): a cloud user may only obtain a code for an env client
(project_<envId>) of an org they belong to. Unset (open editions / self-host,
where the OP is not multi-tenant) = allow, behavior unchanged.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments