Add oidc support

This commit is contained in:
Simon Goller 2024-06-04 20:07:58 +02:00
parent ed609cf06c
commit a868ceb0cd
7 changed files with 1111 additions and 25 deletions

View file

@ -30,3 +30,6 @@ version = "0.3.36"
[dependencies.time-macros]
version = "0.2.18"
[dependencies.dotenvy]
version = "0.15"

View file

@ -129,6 +129,7 @@ async fn create_dev_admin_user(pool: Arc<SqlitePool>) {
#[tokio::main]
async fn main() {
dotenvy::dotenv().ok();
let pool = Arc::new(
SqlitePool::connect("sqlite:./localdb.sqlite3")
.await