1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-07 17:03:01 +03:00

Flatten the clients config

This commit is contained in:
Quentin Gliech
2024-03-20 16:59:26 +01:00
parent 48b6013c4f
commit cba431d20e
4 changed files with 219 additions and 197 deletions

View File

@@ -259,10 +259,10 @@ pub async fn config_sync(
continue;
}
let client_secret = client.client_secret();
let client_secret = client.client_secret.as_deref();
let client_auth_method = client.client_auth_method();
let jwks = client.jwks();
let jwks_uri = client.jwks_uri();
let jwks = client.jwks.as_ref();
let jwks_uri = client.jwks_uri.as_ref();
// TODO: should be moved somewhere else
let encrypted_client_secret = client_secret