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.
This commit is contained in:
Vincent Ambo 2018-04-08 22:36:34 +02:00
parent da33786939
commit 249f17b60a
5 changed files with 489 additions and 2 deletions

View file

@ -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;