A comprehensive JWT authentication microservice with ES256 signing, refresh token rotation, and multi-app token isolation. Part of a growing ecosystem of developer-focused tools.

Turkey is a comprehensive JWT authentication microservice designed for modern applications requiring secure, scalable authentication. Built with TypeScript and featuring ES256 asymmetric signing, Turkey implements enterprise-level security while maintaining developer-friendly integration patterns.
Status: Currently in active development - Core authentication features complete with ongoing enhancements.
ES256 JWT Authentication: Implements elliptic curve digital signatures for enhanced security over traditional HMAC-based tokens, providing asymmetric signing with public key verification.
Refresh Token Rotation: Automatic token rotation with replay attack protection ensures compromised tokens have minimal security impact.
App-Specific Token Isolation: Multi-tenant architecture with appId-based JWT isolation enables secure token separation between different applications or client environments.
Comprehensive Rate Limiting: Built-in protection against brute force attacks with configurable limits for login attempts, token refresh, and API endpoints.
TypeScript SDK: Complete client library with full type safety, automatic token management, and React hooks for seamless frontend integration.
Gravy CLI: Command-line interface for user management, database operations, token inspection, and service administration - everything runs smooth as gravy.
Zero-Config Middleware: Drop-in authentication middleware for Express, Next.js, and other Node.js frameworks with environment-based configuration.
Modern Stack: Built on Node.js with TypeScript, PostgreSQL, and Drizzle ORM for type-safe database operations and robust performance.
Security-First Design: Implements current best practices including JWKS endpoints, proper CORS handling, input validation with Zod schemas, and XSS protection.
Robust Architecture: Comprehensive error handling, structured logging, health check endpoints, and deployment-ready configuration management.
Turkey represents part of a growing ecosystem of developer-focused tools, designed to work seamlessly with other services like Renoodles for comprehensive SaaS infrastructure.
Multi-Application Support: Architected from the ground up to handle authentication for multiple applications, making it ideal for developers building several products or managing client projects.
API-First Design: RESTful API with comprehensive documentation, making integration straightforward whether using the provided SDK or building custom implementations.
This project demonstrates the ability to build comprehensive security infrastructure that other developers can depend on. Turkey showcases expertise in:
Turkey fills a critical gap in the developer tools landscape by providing enterprise-level authentication without the complexity typically associated with such systems.

Let's create something amazing for your business too.