swarm-queue-client: audience-scoped tokens + a blocking mint for a non-reactor caller

This commit is contained in:
damocles 2026-08-26 22:03:23 +02:00 committed by mara
commit e8584e595b
3 changed files with 179 additions and 21 deletions

View file

@ -98,7 +98,7 @@ impl AuthBridge {
// configured CA, if any) — deliberately not `self.http`, which is
// the bridge's own client and has nothing to do with authelia's
// token endpoint's trust anchors.
let token = swarm_queue_client::mint_token_for(&self.queue_cfg)
let token = swarm_queue_client::mint_token_for(&self.queue_cfg, None)
.await
.context("minting a bearer token for swarm-authelia-bridge")?;