#aquila #provider #github #authentication-provider #oauth2

aquila_auth_github

Aquila server github auth provider implementation

16 releases (4 breaking)

Uses new Rust 2024

new 0.7.0-rc.13 Feb 24, 2026
0.7.0-rc.11 Feb 3, 2026
0.7.0-rc.7 Jan 30, 2026
0.6.4 Jan 27, 2026
0.1.3 Jan 6, 2026

#1588 in Authentication


Used in aquila

MIT/Apache

38KB
512 lines

Aquila GitHub Auth

Crates.io Downloads Docs

OAuth2 authentication provider using GitHub.

Allows users to log in using their GitHub accounts. Supports restricting access to members of a specific GitHub Organization.

Usage

let config = GithubConfig {
    client_id: "Iv1...".to_string(),
    client_secret: "secret".to_string(),
    redirect_uri: "http://localhost:3000/auth/callback".to_string(),
    required_org: Some("MyGameStudio".to_string()),
};

let auth = GithubAuthProvider::new(Some(config));

License: MIT OR Apache-2.0

Dependencies

~6–24MB
~272K SLoC