auth
togo base auth: JWT + RBAC + multi-guard, Supabase/GoTrue first-class, OAuth/Firebase/WorkOS as plugins
togo install togo-framework/auth- auth
- authentication
- go
- golang
- jwt
- plugin
- rbac
- togo
Plugins that extend this (9)
- auth-dev
Developer login for togo auth (dev-only)
- auth-firebase
Firebase Authentication driver for togo auth
- auth-mfa
togo MFA — TOTP 2FA, recovery codes, email OTP, magic-link, account lockout & password policy
- auth-oauth
OAuth2 social login for togo auth
- auth-passkeys
togo passkeys — WebAuthn/FIDO2 passwordless login for the auth family
- auth-platform
togo organizations & teams — multi-tenant auth with per-org roles, invites & branding
- auth-saml
togo SAML 2.0 SSO — service-provider login (metadata/login/ACS) issuing an auth session
- auth-session-redis
Redis session store for togo auth
- auth-workos
WorkOS SSO/SAML driver for togo auth
Readme
togo-framework/auth
Part of the togo framework.
Install
auth part of the togo-framework — the full-stack Go + React framework
The togo base auth provider: JWT token auth, bcrypt passwords, a self-contained
users store (via the ORM), multi-guard, roles + permissions (RBAC), middleware, and
/api/auth routes. Default driver for the framework; Supabase/Firebase/OAuth/WorkOS
ship as driver plugins that depend on this package.
Frontend
UI lives in the separate dashboard plugin (login/register/reset/2fa/lock/profile/dashboard), which depends on this package.
💎 Premium sponsors
togo is proudly sponsored by ID8 Media and One Studio.

Premium sponsors
Support togo — become a sponsor.