Can authenticate using OpenID

This commit is contained in:
2023-06-09 10:45:01 +02:00
parent 94a4ab4f91
commit d55718f4de
6 changed files with 219 additions and 3 deletions

View File

@ -18,6 +18,7 @@ async fn main() -> std::io::Result<()> {
.allowed_origin(&AppConfig::get().website_origin)
.allowed_methods(vec!["GET", "POST"])
.allowed_header("X-Auth-Token")
.allow_any_header()
.supports_credentials()
.max_age(3600),
)