Skip to content
Discussion options

You must be logged in to vote

Yes, a backend can trust more than one issuer, but that should be an explicit multi-issuer trust configuration—not “decode the JWT, read iss, then accept whatever keys that URL advertises.” The unverified iss value may only select an entry from a fixed allow-list. The backend must then validate the signature with that issuer's configured JWKS and validate the exact iss, the API's aud, expiry/not-before, and the scopes/roles used for authorization.

For this architecture I would choose between these models:

  1. One realm, multiple clients/resources when all stacks are in the same security domain. Keycloak realms are intentionally isolated; clients are the normal boundary for multiple applicat…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@naslevente
Comment options

Answer selected by naslevente
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants