swarm-queue-client: audience-scoped tokens + a blocking mint for a non-reactor caller
This commit is contained in:
parent
2aa33f12d2
commit
e8584e595b
3 changed files with 179 additions and 21 deletions
|
|
@ -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")?;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue