axum-gate
Flexible authentication and authorization for Axum with JWT cookies or bearer tokens, optional OAuth2, and role/group/permission RBAC. Suitable for single-node and distributed systems.
File Explorer
Download Latest Version (.zip)- audit.toml
- bug_report.yml
- feature_request.yml
- question.yml
- ci.yml
- release.yml
- FUNDING.yml
- main.rs
- .env
- Cargo.lock
- Cargo.toml
- auth_node.rs
- consumer_node.rs
- lib.rs
- .env
- Cargo.lock
- Cargo.toml
- README.md
- main.rs
- .env
- Cargo.toml
- README.md
- main.rs
- Cargo.toml
- README.md
- main.rs
- Cargo.toml
- main.rs
- Cargo.toml
- prometheus.yml
- README.md
- main.rs
- Cargo.toml
- main.rs
- .env
- Cargo.lock
- Cargo.toml
- main.rs
- Cargo.toml
- main.rs
- .env
- Cargo.lock
- Cargo.toml
- account_delete.rs
- account_insert.rs
- account_repository.rs
- errors.rs
- mod.rs
- errors.rs
- login.rs
- logout.rs
- mod.rs
- access_hierarchy.rs
- access_policy.rs
- access_scope.rs
- authorization_service.rs
- errors.rs
- mod.rs
- mod.rs
- validation_result.rs
- validation_service.rs
- errors.rs
- mod.rs
- credentials_verifier.rs
- mod.rs
- mod.rs
- mod.rs
- static_token_authorized.rs
- cookie_service.rs
- mod.rs
- errors.rs
- mod.rs
- mod.rs
- group_repository.rs
- mod.rs
- argon2.rs
- errors.rs
- hashing_service.rs
- mod.rs
- mapping_repository.rs
- mod.rs
- application_validator.rs
- as_permission_name.rs
- collision_checker.rs
- errors.rs
- mod.rs
- permission_collision.rs
- permission_id.rs
- validate_permissions.rs
- validation_report.rs
- account.rs
- group.rs
- permission_mapping.rs
- secret.rs
- account.rs
- credentials.rs
- group.rs
- permission_mapping.rs
- account.rs
- group.rs
- models.rs
- permission_mapping.rs
- secret.rs
- account.rs
- group.rs
- permission_mapping.rs
- secret.rs
- errors.rs
- memory.rs
- mod.rs
- sea_orm.rs
- surrealdb.rs
- login.rs
- logout.rs
- mod.rs
- errors.rs
- mod.rs
- secret_repository.rs
- .DS_Store
- audit.rs
- comma_separated_value.rs
- cookie_template.rs
- lib.rs
- prelude.rs
- roles.rs
- verification_result.rs
- permission_mappings_bulk.rs
- permission_mappings_surrealdb.rs
- timing_repositories.rs
- .envrc
- .gitignore
- .gitlab-ci.yml
- Cargo.lock
- Cargo.toml
- CHANGELOG.md
- cliff.toml
- deny.toml
- flake.lock
- flake.nix
- LICENSE
- NOTICE
- README.md
- SECURITY.md
- taplo.toml
- TROUBLESHOOTING.md
# Installation Guide
1. Get the code
git clone https://github.com/emirror-de/axum-gate
Downloads the entire project code from GitHub to your computer.
cd axum-gate
Moves into the project folder you just downloaded.
2. Rust
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
If cargo build finishes without errors, it worked. The executable is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
