Connectors that use workload identity, such as AWS roles, Google Cloud workload identity federation, Azure, Chainguard, and federation into another 3B tenant, authenticate without stored secrets. 3B signs a short-lived token for each request, and the provider verifies it by fetching two documents from the token’s issuer:
<issuer>/.well-known/openid-configuration<issuer>/.well-known/jwks.json
The issuer defaults to the externalUrls.ui origin, or the externalUrls.api origin when legacyApiSubdomain is on. If your providers can’t reach that address, for example because 3B runs on an internal network without internet ingress, publish those two documents through a public relay and make the relay’s URL the issuer.
Before you start
Upgrade to a release that supports
externalUrls.oidcIssuer, and let the rollout finish. Set the value in a later upgrade, because pods from the previous release reject it while they drain.Choose the public URL that will be the issuer, like
https://relay.example.com/3b. It can include a path, but not a query string or fragment.Know which connectors use workload identity today. Every one of them changes issuer at the same moment, so plan the switch for all of them together.
1. Set up the relay
Forward exactly these two requests from the relay to 3B’s app hostname, and nothing else:
Public request | Forward to |
|
|
|
|
Send the app hostname as the Host header on the forwarded request, because 3B uses it to find your tenant. Serve the public URL over HTTPS with a publicly trusted certificate. AWS and Google both reject issuers they can’t verify over TLS.
Check the relay from outside your network. curl https://relay.example.com/3b/.well-known/jwks.json should return the same keys as the app hostname. The discovery document still names the old issuer until you finish step 3.
2. Register the new issuer with every provider
Tokens carry exactly one issuer, so every provider must trust the new one before you switch. Add it alongside the existing configuration rather than replacing it, so you can switch back:
AWS: create an IAM OpenID Connect identity provider for the relay URL, with each connector’s audience (
connected-app:<id>, shown on the connector’s setup screen). Update each role’s trust policy so itsFederatedprincipal and audience conditions reference the new provider.Google Cloud: a workload identity pool provider has a single issuer, so create a new provider in the pool with the relay URL as its issuer and the same audience, and grant the service accounts to principals from it.
Chainguard, Azure, and other OIDC providers: create an identity that trusts the relay URL as its issuer, with the same subject and audience as the existing one.
Another 3B tenant you federate into: ask its admin to register an identity provider with the relay URL as the issuer and to point the service account’s bindings at it.
3. Switch the issuer
Set the value and upgrade:
externalUrls: oidcIssuer: https://relay.example.com/3b
On the single-server install, put this in the file named by EXTRA_VALUES_FILE in /opt/3b/.env, then re-run sudo bash /opt/3b/setup.sh.
The tenant’s issuer changes when the upgrade’s tenant bootstrap job completes. To confirm, https://relay.example.com/3b/.well-known/openid-configuration returns "issuer": "https://relay.example.com/3b" and a jwks_uri under the same URL. The connector setup screens show the new issuer from then on. Run each workload identity connector’s connection test, and once they all pass, remove the old issuer from your providers.
Switching back or changing the relay
Remove externalUrls.oidcIssuer, or set it to the new URL, and upgrade again. The issuer returns to the default, or moves to the new URL, as soon as tenant bootstrap completes, so make sure your providers already trust the issuer you’re moving to.
Limitations
The 3B connector’s “Service account (workflow identity)” authentication doesn’t support a relayed issuer yet. Leave
externalUrls.oidcIssuerunset if your workflows use it to call this deployment.Managed email marks each message with an
X-3B-Originheader that identifies the sending tenant. With a relayed issuer, it carries the relay URL.
