Modern OAuth 2.0 Authentication Platform with Cyberpunk Aesthetics
Features • Quick Start • Demo • Documentation
- 🎨 Cyberpunk UI - Stunning Neon design system with glassmorphism effects
- 🔒 OAuth 2.0 - GitHub & Google Workspace authentication
- ⚡ Next.js 15 - Latest React Server Components & App Router
- 🎯 TypeScript - Full type safety across the stack
- 🌐 Multi-tenant - Support for multiple clients and return URLs
- 📱 Responsive - Beautiful on all devices
- 🚀 Vercel Ready - One-click deployment
Modern dashboard with real-time widgets and glassmorphism design
Deploy to Vercel in seconds:
git clone https://github.com/UnicornXOS/bl1nk-auth.git cd bl1nk-auth
npm install
cp .env.example .env
npm run dev ```
Open http://localhost:3000 🎉
Create a .env file with:
```env
GITHUB_CLIENT_ID=your_github_client_id GITHUB_CLIENT_SECRET=your_github_client_secret
GOOGLE_CLIENT_ID=your_google_client_id GOOGLE_CLIENT_SECRET=your_google_client_secret
JWT_SECRET=your_super_secret_key_min_32_chars ```
Edit config/clients.json to add your allowed clients:
```json [ { "client": "your-app", "aud": "https://your-app.com", "returns": ["https://your-app.com/auth/callback"] } ] ```
bl1nk Auth features a custom Neon Design System with:
- 🌈 Vibrant color palette (Cyan, Purple, Amber)
- 💎 Glassmorphism effects
- ✨ Smooth animations & transitions
- 🎯 iOS 26-inspired components
- 🌙 Dark mode optimized
- Framework: Next.js 15.5
- Language: TypeScript 5
- Styling: Tailwind CSS 3.4
- Auth: Custom OAuth 2.0 implementation
- Deployment: Vercel
- Analytics: Vercel Analytics
``` bl1nk-auth/ ├── app/ # Next.js App Router │ ├── (auth)/ # Authentication pages │ ├── (marketing)/ # Public pages │ └── dashboard/ # Protected dashboard ├── components/ # React components │ ├── layout/ # Layout components │ └── ui/ # UI components ├── lib/ # Utilities & integrations ├── config/ # Configuration files └── public/ # Static assets ```
- ✅ OAuth 2.0 compliant
- ✅ JWT token-based sessions
- ✅ CSRF protection
- ✅ Secure headers (CSP, X-Frame-Options)
- ✅ Client whitelist validation
For security issues, please see SECURITY.md
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Design inspired by Cyberpunk aesthetics
- Built with ❤️ using Next.js and TypeScript
- Powered by Vercel
Made with 💜 by UnicornXOS