Skip to main content

A modular OAuth2 and JWT authentication gateway for FastAPI microservices.

Project description

JANUX Authentication Gateway

Python PyPI - Version PyPI Downloads License: Apache 2.0 GitHub

JANUX Authentication Gateway is a high-performance, modular, and extensible authentication microservice built with FastAPI. It provides secure user and admin authentication, JWT management, and seamless MongoDB integration via Beanie ODM and PostgreSQL via SQLAlchemy. Designed for developers and organizations, JANUX ensures scalability, flexibility, and security—making it ideal for SaaS platforms, APIs, and enterprise applications that require a robust authentication system.

Documentation

The complete documentation is available on GitHub Pages.

Key Features

  • FastAPI-based – Asynchronous, high-performance authentication.
  • JWT Authentication & Token Management – Secure access and refresh tokens.
  • Role-Based Access Control (RBAC) – Admins, users, and fine-grained permissions.
  • MongoDB with Beanie ODM – Flexible user and admin management.
  • PostgreSQL via SQLAlchemy – User and admin management via PostgreSQL.
  • Secure Password Hashing – Uses Argon2 & Bcrypt for industry-leading security.
  • Cryptographic Key Support – RSA, Ed25519, and ECDSA for secure key management.
  • Redis-Based Token Blacklisting – Prevents reuse of revoked tokens.
  • CORS Middleware – Configurable allowed origins for API security.
  • Modular & Extensible – Easily customizable for different authentication workflows.
  • Deploy Anywhere – Works in Docker, Kubernetes, and serverless environments.

Why JANUX?

JANUX is developer-friendly, scalable, and production-ready. It eliminates the complexity of authentication by providing a plug-and-play solution for handling users, roles, security, and authentication tokens—so you can focus on building your core application.

Use JANUX if you need:

  • A ready-to-use authentication system for APIs and SaaS apps.
  • A secure and scalable solution with RBAC & JWT.
  • Flexibility to extend authentication workflows.
  • Modern authentication standards with FastAPI, MongoDB/PostgreSQL, and Redis.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

janux_auth_gateway-2.0.1.tar.gz (29.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

janux_auth_gateway-2.0.1-py3-none-any.whl (46.9 kB view details)

Uploaded Python 3

File details

Details for the file janux_auth_gateway-2.0.1.tar.gz.

File metadata

  • Download URL: janux_auth_gateway-2.0.1.tar.gz
  • Upload date:
  • Size: 29.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for janux_auth_gateway-2.0.1.tar.gz
Algorithm Hash digest
SHA256 fddd90f2fa041d66d5502d859e8a3cb7f489856f93769517107d886f42637211
MD5 9f287740484c8db4cf54e07f67d5be96
BLAKE2b-256 b865308a5e8904d4e9f7f5c0a41a12f4e6dc4a4f305e0f4dae4af028d5976250

See more details on using hashes here.

Provenance

The following attestation bundles were made for janux_auth_gateway-2.0.1.tar.gz:

Publisher: publish-pypi.yml on fox-techniques/janux-auth-gateway

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file janux_auth_gateway-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for janux_auth_gateway-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3672d958b77a9614f7033f848ff0b1bd2025e971ce86be9eb334ef762b8640e0
MD5 9c998fc74f8f2b715011c494fae9de07
BLAKE2b-256 d557dfb056c542fee4d77a6c345cfb740149a57cc1419cdd97ab0facc8267daf

See more details on using hashes here.

Provenance

The following attestation bundles were made for janux_auth_gateway-2.0.1-py3-none-any.whl:

Publisher: publish-pypi.yml on fox-techniques/janux-auth-gateway

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page