# pbauth > Multi-provider OAuth2 (Google, Microsoft, GitHub, Apple, Hugging Face, ChatGPT), 6-digit email OTP verification and reset, 6 built-in locales (with Arabic RTL), OAuth 2.1 and MCP server support, and proof-verified account linking for PocketBase Go backends, with React components. Sign-in runs in the same tab with PKCE S256 by default, and each app idles at about 37.2 MiB of RAM. ## Docs - [Sign-in providers](https://pbauth.akyonlabs.com/docs/providers.md): Enable Google, Microsoft, GitHub, Apple, Hugging Face, ChatGPT, and email OTP in PocketBase via env vars. - [Account linking](https://pbauth.akyonlabs.com/docs/linking.md): Link multiple Google, GitHub, or Apple logins to one PocketBase account with proofs and lifecycle hooks. - [React UI components](https://pbauth.akyonlabs.com/docs/ui.md): Drop-in AuthCard, 6-digit OTP slots, LinkedAccounts, and 6 built-in locales with Arabic RTL for PocketBase. - [OAuth 2.1 and MCP](https://pbauth.akyonlabs.com/docs/oauth.md): Turn PocketBase into an OAuth 2.1 and MCP server with consent UI, grant revocation, and AI client setup. - [Idle RAM benchmarks](https://pbauth.akyonlabs.com/docs/benchmarks.md): Measured Linux RAM for PocketBase with pbauth (37.2 MiB per app) beside Better Auth and self-hosted Supabase. ## Packages & Guides - [README overview](https://github.com/fcakyon/pbauth#readme): Go quickstart, feature matrix, and architecture summary. - [Go plugin package](https://github.com/fcakyon/pbauth/tree/main): Register migrations, providers, SMTP OTP, and OAuth routes. - [OAuth 2.1 and MCP server](https://github.com/fcakyon/pbauth/tree/main/oauth): CIMD client verification, DCR, Enterprise ID-JAG, and consent tokens. - [React UI package (web/)](https://github.com/fcakyon/pbauth/tree/main/web): pocketbase-auth npm package with subpath OAuth and locale exports. - [Better Auth & Supabase benchmarks](https://pbauth.akyonlabs.com/docs/benchmarks/): Idle Linux RAM measurements vs [Better Auth](https://better-auth.com/) and [Supabase](https://supabase.com/). ## Optional - [Live React playground](https://pbauth.akyonlabs.com/demo/): AuthCard, LinkedAccounts, OAuthConsentCard, and MCPSetupCard in your browser. - [Static landing page](https://pbauth.akyonlabs.com/): HeroUI interactive overview and quickstart. - [Agent skill](https://github.com/fcakyon/pbauth/blob/main/skills/pbauth/SKILL.md): integration checklist and zero-credential OAuth check script.