Keycloak issuer validation and multi-tenancy approach

前端 未结 2 1656
长情又很酷
长情又很酷 2021-01-18 17:08

Let\'s say we have several micro-services. Each of them uses Keycloak authentication. We have also load balancer based on for ex. nginx which has external URLs and different

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-18 17:33

    Unfortunately Keycloak is too restrictive with its token validation according to the issuer ("iss") field in the token. It requires that the URL used to validate the token matches the URL in the "iss" field.

    A while ago I have opened a JIRA ticket for that problem (vote for it!): https://issues.jboss.org/browse/KEYCLOAK-5045

提交回复
热议问题