Start to build init openid login

This commit is contained in:
2023-06-02 11:49:18 +02:00
parent bca1768fc4
commit 83d731c546
9 changed files with 385 additions and 21 deletions

View File

@ -43,6 +43,10 @@ async fn main() -> std::io::Result<()> {
"/auth/password_login",
web::post().to(auth_controller::password_login),
)
.route(
"/auth/start_openid_login",
web::post().to(auth_controller::start_openid_login),
)
// User controller
.route("/user/info", web::get().to(user_controller::auth_info))
})