aquila_auth_github 0.7.0-rc.1

Aquila server github auth provider implementation
Documentation

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