We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 666acff commit 74e3d95Copy full SHA for 74e3d95
src/services/oidc.rs
@@ -287,7 +287,8 @@ impl OnJwtError for OIDCErrorHandler {
287
warn!("No matching jwk for request found, refreshing jwks...");
288
289
let handle = Handle::current();
290
- handle.block_on(async { self.authority.refresh().await.ok() });
+ let authority = self.authority.clone();
291
+ handle.spawn(async move { authority.refresh().await.ok() });
292
293
Status::unauthenticated("unauthenticated").into_http()
294
}
0 commit comments