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

@@ -38,3 +38,6 @@ sentry-anyhow = { version = "0.38.1", optional = true }
# Core
revolt-result = { version = "0.8.9", path = "../result", optional = true }
# Authifier
authifier = "1.0.15"

View File

@@ -70,6 +70,7 @@ max_concurrent_connections = 50
[api.users]
[api.sso]
[pushd]
# this changes the names of the queues to not overlap

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)]