1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-06 06:02:40 +03:00

Load the additional OAuth parameters from the config

This commit is contained in:
Quentin Gliech
2024-03-01 12:14:53 +01:00
parent 1821136e3f
commit 25fbbf96b9
3 changed files with 19 additions and 3 deletions

View File

@@ -310,8 +310,10 @@ async fn sync(root: &super::Options, prune: bool, dry_run: bool) -> anyhow::Resu
jwks_uri_override: provider.jwks_uri,
discovery_mode,
pkce_mode,
// TODO: get that from the config
additional_authorization_parameters: Vec::new(),
additional_authorization_parameters: provider
.additional_authorization_parameters
.into_iter()
.collect(),
},
)
.await?;