Build the callout's pinned key resolver: a createRemoteJWKSet locked to ONE origin. The token
never influences where the key comes from — jose fetches only this URL and ignores any embedded
jku/jwk (and validateUserToken rejects those headers outright). HTTPS is required
except plain http on a loopback IP literal (dev). A name such as localhost gets no exception,
because resolution would then choose the trust anchor.
Build the callout's pinned key resolver: a
createRemoteJWKSetlocked to ONE origin. The token never influences where the key comes from — jose fetches only this URL and ignores any embeddedjku/jwk(and validateUserToken rejects those headers outright). HTTPS is required except plain http on a loopback IP literal (dev). A name such aslocalhostgets no exception, because resolution would then choose the trust anchor.