authkestra-providers-github
GitHub OAuth2 provider for authkestra-rs.
This crate provides a concrete implementation of the OAuthProvider trait for GitHub, allowing easy integration of GitHub authentication into your application.
Features
- Authorization Code exchange for GitHub identities.
- Token refresh support (GitHub requires specific App settings for this).
- Token revocation support.
- Automatic mapping of GitHub user profiles to
Identity.
Usage
Add this to your Cargo.toml:
[]
= "0.1.0"
= "0.1.0"
Example
use GithubProvider;
use OAuthProvider;
async
Configuration
The GithubProvider can be further configured:
let provider = new
.with_authorization_url;
Part of authkestra-rs
This crate is part of the authkestra-rs workspace.