diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-04-08T20·36+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-04-08T20·36+0200 |
commit | 249f17b60a0313a66443a5c67403794986430e34 (patch) | |
tree | cd73f56fcb822125de967b8486b74f0887256043 /src/main.rs | |
parent | da33786939979350b58a09145b56913963380c92 (diff) |
feat(oidc): Implement initial OIDC actor
Implements an actor that can perform OAuth2 logins (not really OIDC-compliant yet because Rust doesn't have an easy to use JWT library that supports JWKS, and I don't have time for that right now). Currently this hardcodes some Office365-specific stuff.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 3269e2d4dc3c..7df74b54130c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,14 +13,20 @@ extern crate serde_derive; #[macro_use] extern crate failure; -extern crate chrono; extern crate actix; extern crate actix_web; +extern crate chrono; extern crate env_logger; -extern crate r2d2; extern crate futures; +extern crate r2d2; +extern crate reqwest; extern crate serde; +extern crate url; +extern crate url_serde; +extern crate serde_json; +extern crate hyper; +pub mod oidc; pub mod db; pub mod errors; pub mod handlers; |