OAuth Component
The OAuth component in servercn provides a unified way to integrate third-party authentication into your backend.
Instead of installing providers individually, this component bundles strategies for:
- Google OAuth
- Facebook OAuth
- GitHub OAuth
All under a single, consistent architecture.
Installation Guide
npx servercn-cli add oauthEnvironment Variables
Configure each provider in your .env file: