AuthSphere is a comprehensive, enterprise-ready authentication platform designed to simplify identity management for developers. It provides a secure, scalable, and easy-to-integrate solution for handling user authentication, social logins, and project management.
The AuthSphere ecosystem consists of four main components:
/backend: The core API server built with Express and MongoDB. It handles OAuth2 flows, PKCE validation, session management, and project configurations./frontend: A premium developer dashboard built with React 19 and Tailwind CSS. This is where developers manage their projects, API keys, and view user analytics./package: The official@authsphere/sdkwritten in TypeScript. It provides a seamless way for developers to integrate AuthSphere into their client-side applications with built-in PKCE support./test: A demonstration React application showcasing the implementation and capabilities of the AuthSphere SDK.
- 🛡️ Secure by Design: Built-in support for OAuth2 with PKCE (Proof Key for Code Exchange).
- 🔌 Multi-Provider Support: Easily enable Google, GitHub, and Discord authentication.
- 📊 Developer Dashboard: Manage multiple projects, rotate API keys, and monitor user logins.
- 📦 Lightweight SDK: A type-safe TypeScript SDK for effortless integration.
- 🎨 Premium UI/UX: Dark-mode first design with smooth animations and responsive layouts.
To get the entire ecosystem running locally, follow these steps:
- Node.js (v18+)
- MongoDB (Local or Atlas)
cd backend
npm install
# Create a .env file based on .env.example
npm run devcd package
npm install
npm run buildcd frontend
npm install
npm run devcd test
npm install
npm run dev- Backend: Node.js, Express, MongoDB (Mongoose), JWT, Bcrypt.
- Frontend: React 19, Vite, Tailwind CSS 4, Radix UI, Lucide Icons.
- SDK: TypeScript, Fetch API, PKCE.
This project is licensed under the MIT License - see the LICENSE file for details.
Built with ❤️ by the AuthSphere Team.