This commit is contained in:
Paul Zinselmeyer 2023-11-02 23:10:38 +01:00
commit 1b3973064b
Signed by: pfzetto
GPG key ID: 4EEF46A5B276E648
4 changed files with 30 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/target
Cargo.lock

14
Cargo.toml Normal file
View file

@ -0,0 +1,14 @@
[package]
name = "axum-oidc"
description = "A OpenID Connect Client and Bearer Token Libary for axum"
version = "0.0.0"
edition = "2021"
authors = [ "Paul Z <info@pfz4.de>" ]
readme = "README.md"
repository = "https://github.com/pfz4/axum-oidc"
license = "LGPL-3.0-or-later"
keywords = [ "axum", "oidc", "openidconnect", "authentication" ]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

14
README.md Normal file
View file

@ -0,0 +1,14 @@
**This crate is still under construction**
This Library allows using [OpenID Connect](https://openid.net/developers/how-connect-works/) with [axum](https://github.com/tokio-rs/axum). It provides two modes, described below.
# Operating Modes
## Client Mode
In Client mode, the user visits the axum server with a web browser. The user gets redirected to and authenticated with the Issuer.
## Token Mode
In Token mode, the another system is using the access token of the user to authenticate against the axum server.
# License
This Library is licensed under [LGPLv3](https://www.gnu.org/licenses/lgpl-3.0.en.html).

0
src/lib.rs Normal file
View file