Skip to content

Nube AuthProduction-ready authentication

Complete authentication, licensing, and user management platform with enterprise-grade security

Nube Auth Logo

🚀 What is Nube Auth?

Nube Auth is a comprehensive authentication and licensing platform that provides secure user management, OAuth integration, session handling, and subscription licensing out of the box.

Security Rating: A+ (94/100)

Nube Auth has achieved an A+ security rating through comprehensive security measures including session hijacking protection, rate limiting, CSRF protection, and more.

⚡ Quick Start

Integrate Nube Auth authentication into your app in 5 minutes:

bash
# 1. Install the SDK
npm install @nube-auth/client @nube-auth/react

# 2. Get your credentials from admin.nubeauth.com
# - Create a project
# - Add an app
# - Copy your App ID
tsx
// 3. Add to your React app
import { NubeAuthProvider, useNube Auth } from '@nube-auth/react';

function App() {
  return (
    <NubeAuthProvider
      appId="APP0abc123..."
      gatewayUrl="https://api.nubeauth.com"
    >
      <YourApp />
    </NubeAuthProvider>
  );
}

// 4. Use authentication
function LoginButton() {
  const { login } = useNube Auth();
  return <button onClick={() => login({ provider: 'google' })}>Login</button>;
}

Visit Integration Quick Start for detailed instructions.

🔒 Security Features

Multi-Layered Protection

  • Session Hijacking Protection: IP and User-Agent fingerprinting with automatic invalidation
  • Rate Limiting: Redis-based sliding window (10 req/5min auth, 100 req/min API)
  • CSRF Protection: Token-based protection for all state-changing operations
  • Admin Route Security: Blocks Postman/curl, requires browser context
  • Input Validation: 15+ Zod schemas validating all endpoints
  • SQL Injection Protection: Drizzle ORM with no raw SQL
  • Security Headers: CSP, HSTS, X-Frame-Options, and more

Compliance Ready

✅ SOC 2 Type II
✅ OWASP Top 10 (2021)
✅ GDPR
✅ ISO 27001

Learn more about security →

🏗️ Architecture

Tech Stack

  • Backend: Hono, Node.js 22+
  • Database: PostgreSQL 16 (Drizzle ORM)
  • Cache: Redis 7
  • Frontend: React 18, TanStack Query
  • Styling: Tailwind CSS
  • Build: Turborepo, TypeScript, Vite

Monorepo Structure

nube-auth/
├── apps/
│   ├── gateway/          # API Gateway
│   ├── core/             # Core Service
│   ├── dashboard/
│   │   ├── admin/        # Admin Dashboard
│   │   ├── user/         # User Portal
│   │   ├── home/         # Marketing Site
│   │   └── docs/         # Documentation
├── packages/
│   ├── db/               # Database Layer
│   ├── cache/            # Redis Cache
│   ├── auth/             # Authentication
│   ├── client/           # TypeScript SDK
│   └── react/            # React Hooks

🚀 Get Started

For Developers (Integrate Nube Auth)

  1. Sign up at admin.nubeauth.com
  2. Create a project and add your app
  3. Configure OAuth providers (Google, GitHub)
  4. Install SDK in your application
  5. Start authenticating users

Integration Guide →

For Self-Hosting (Advanced)

Want to run Nube Auth on your own infrastructure? See our Self-Hosting Guide for Docker and Kubernetes deployment.

🤝 Support & Community

Need help integrating Nube Auth?


Ready to integrate Nube Auth? Start with the Integration Guide →

Released under the MIT License.