A modular OAuth2 and JWT authentication gateway for FastAPI microservices.
Project description
JANUX Authentication Gateway
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fddd90f2fa041d66d5502d859e8a3cb7f489856f93769517107d886f42637211
|
|
| MD5 |
9f287740484c8db4cf54e07f67d5be96
|
|
| BLAKE2b-256 |
b865308a5e8904d4e9f7f5c0a41a12f4e6dc4a4f305e0f4dae4af028d5976250
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
janux_auth_gateway-2.0.1.tar.gz -
Subject digest:
fddd90f2fa041d66d5502d859e8a3cb7f489856f93769517107d886f42637211 - Sigstore transparency entry: 213049508
- Sigstore integration time:
-
Permalink:
fox-techniques/janux-auth-gateway@c40e39617490a89196fc30db7cd9b2db4ae79360 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/fox-techniques
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@c40e39617490a89196fc30db7cd9b2db4ae79360 -
Trigger Event:
push
-
Statement type:
File details
Details for the file janux_auth_gateway-2.0.1-py3-none-any.whl.
File metadata
- Download URL: janux_auth_gateway-2.0.1-py3-none-any.whl
- Upload date:
- Size: 46.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3672d958b77a9614f7033f848ff0b1bd2025e971ce86be9eb334ef762b8640e0
|
|
| MD5 |
9c998fc74f8f2b715011c494fae9de07
|
|
| BLAKE2b-256 |
d557dfb056c542fee4d77a6c345cfb740149a57cc1419cdd97ab0facc8267daf
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
janux_auth_gateway-2.0.1-py3-none-any.whl -
Subject digest:
3672d958b77a9614f7033f848ff0b1bd2025e971ce86be9eb334ef762b8640e0 - Sigstore transparency entry: 213049517
- Sigstore integration time:
-
Permalink:
fox-techniques/janux-auth-gateway@c40e39617490a89196fc30db7cd9b2db4ae79360 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/fox-techniques
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@c40e39617490a89196fc30db7cd9b2db4ae79360 -
Trigger Event:
push
-
Statement type: