feat: sso

This commit is contained in:
Zomatree
2025-11-18 21:33:21 +00:00
parent 27ea7345ea
commit 2bbd702ec2
7 changed files with 156 additions and 6 deletions

View File

@@ -5,6 +5,7 @@ use config::{Config, File, FileFormat};
use futures_locks::RwLock;
use once_cell::sync::Lazy;
use serde::Deserialize;
use authifier::config::SSO;
#[cfg(feature = "sentry")]
pub use sentry::{capture_error, capture_message, Level};
@@ -210,6 +211,7 @@ pub struct Api {
pub security: ApiSecurity,
pub workers: ApiWorkers,
pub users: ApiUsers,
pub sso: SSO,
}
#[derive(Deserialize, Debug, Clone)]