Compare commits

...

1 Commits

Author SHA1 Message Date
Conrad Ludgate
911048b2ff break e2e test 2024-10-05 11:30:19 +01:00
2 changed files with 2 additions and 4 deletions

View File

@@ -286,9 +286,7 @@ pub type GenericOptions = Option<Vec<GenericOption>>;
/// use for authorizing connect requests using JWT.
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct LocalProxySpec {
#[serde(default)]
#[serde(skip_serializing_if = "Option::is_none")]
pub jwks: Option<Vec<JwksSettings>>,
pub jwks: Vec<JwksSettings>,
}
#[derive(Clone, Debug, Deserialize, Serialize)]

View File

@@ -305,7 +305,7 @@ async fn refresh_config_inner(path: &Utf8Path) -> anyhow::Result<()> {
let mut jwks_set = vec![];
for jwks in data.jwks.into_iter().flatten() {
for jwks in data.jwks {
let mut jwks_url = url::Url::from_str(&jwks.jwks_url).context("parsing JWKS url")?;
ensure!(