youteacher_auth is the authentication service of YouTeacher: sessions, service tokens, TOTP, WebAuthn, and OAuth. It treats every request as untrusted until the request proves it came from a known caller, through one service-to-service JWT check in front of the whole app. User sign-in is built on Better Auth, with passkeys and OAuth providers, and strong factors carry a reauth window.
Children
- service-jwt-trust-boundary — the single choke point that verifies the calling service.
- better-auth-oauth-passkey — the Better Auth factory: OAuth providers and passkeys.
- credential-totp-enrollment — username/password signup and mandatory TOTP enrollment.
- strong-factor-lifecycle — TOTP, passkey, and OAuth factors, and the reauth window.