Skip to content

ttheghost/OxideAuth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OxideAuth: High-Performance IAM Service

Rust Axum PostgreSQL Redis License

OxideAuth is a secure, asynchronous Authentication, and Identity Management service built with Rust.

Designed as a robust backend microservice, it demonstrates systems-level performance, memory-safe concurrency, and modern security best practices. It provides a complete foundation for user registration, role-based access control (RBAC), and session management.

Technology Stack

Component Technology Purpose
Language Rust (Edition 2021) Memory safety, zero-cost abstractions, performance
Web Framework axum + tower Ergonomic, modular routing and middleware
Database sqlx + PostgreSQL Async, purely Rust SQL driver with query macros
Cache redis-rs + Redis Extremely fast state for rate limits and blocklists
Crypto argon2 & jsonwebtoken Industry-standard password hashing and signing

Getting Started

Prerequisites

  • Rust toolchain (latest stable)
  • Docker & Docker Compose
  • sqlx-cli (cargo install sqlx-cli --no-default-features --features rustls,postgres)

Local Setup

  1. Clone the repository

    git clone https://github.com/ttheghost/OxideAuth.git
    cd oxide-auth
  2. Spin up the infrastructure (Postgres & Redis)

    docker-compose up -d
  3. Set up the environment

    Copy the example environment file:

    cp .env.example .env

Author

Mohammed Ifkirne

License

This project is licensed under the MIT License – see the LICENSE file for details.

About

A high-performance, asynchronous Identity and Access Management (IAM) API built in Rust. Features stateless JWTs, stateful refresh token rotation, Argon2id hashing, and Redis-backed rate limiting.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages