You've already forked authentication-service
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:
@@ -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?;
|
||||
|
Reference in New Issue
Block a user