Overview of React OAuth packages
masterReact OAuth provides production-ready, type-safe OAuth2 libraries for React applications. The repository is split into two primary packages:
- @react-oauth/google: Implements Google OAuth2 using the modern Google Identity Services SDK. Supports Sign In With Google buttons, one-tap sign-up, automatic sign-in, and both Implicit & Authorization Code flows.
- @react-oauth/github: A modern React hook for GitHub OAuth authentication. It features zero runtime dependencies, built-in CSRF protection, and complete UI control via a hook-based API.