Skip to content

Commit ae577d6

Browse files
committed
chore: fix examples
1 parent 76b6bda commit ae577d6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/lambda/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async fn main() -> Result<(), Error> {
9393
// Build router with OIDC discovery (if configured) and STS.
9494
let mut router = Router::new();
9595
if let (Some(signer), Some(issuer)) = (oidc_signer, oidc_issuer) {
96-
router = router.with_oidc_discovery(issuer, signer);
96+
router = router.with_oidc_discovery(issuer, vec![signer]);
9797
}
9898
router = router.with_sts(sts_creds, jwks_cache, token_key.clone());
9999

examples/server/src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ where
113113
// Build router with OIDC discovery (if configured) and STS.
114114
let mut proxy_router = ProxyRouter::new();
115115
if let (Some(signer), Some(issuer)) = (oidc_signer, oidc_issuer) {
116-
proxy_router = proxy_router.with_oidc_discovery(issuer, signer);
116+
proxy_router = proxy_router.with_oidc_discovery(issuer, vec![signer]);
117117
}
118118
proxy_router = proxy_router.with_sts(sts_creds, jwks_cache, token_key.clone());
119119

0 commit comments

Comments
 (0)