mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-08-06 17:40:59 +00:00
impl MSC2964: OIDC authorization flow with oxide-auth
This commit is contained in:
parent
c322cbcb79
commit
43458b64f8
10 changed files with 742 additions and 1 deletions
|
@ -15,6 +15,7 @@ pub mod appservice;
|
|||
pub mod globals;
|
||||
pub mod key_backups;
|
||||
pub mod media;
|
||||
pub mod oidc;
|
||||
pub mod pdu;
|
||||
pub mod pusher;
|
||||
pub mod rooms;
|
||||
|
@ -36,6 +37,7 @@ pub struct Services {
|
|||
pub key_backups: key_backups::Service,
|
||||
pub media: media::Service,
|
||||
pub sending: Arc<sending::Service>,
|
||||
pub oidc: Arc<oidc::Service>,
|
||||
}
|
||||
|
||||
impl Services {
|
||||
|
@ -123,6 +125,7 @@ impl Services {
|
|||
sending: sending::Service::build(db, &config),
|
||||
|
||||
globals: globals::Service::load(db, config)?,
|
||||
oidc: Arc::new(oidc::Service::preconfigured()),
|
||||
})
|
||||
}
|
||||
async fn memory_usage(&self) -> String {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue