Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-86

Define how to integrate Kogito REST Services with Keycloak Adapter

XMLWordPrintable

      We're using Keycloak as the SSO infrastructure on Kogito Architecture. All Kogito REST services should implement the Keycloak adapters to make this possible:

      1. Validate token against a Keycloak instance
      2. Send JWT Tokens during calls to inner services

      This adapter can be implemented as:

      1. A jar library. Spring Boot offers a nice integration with Keycloak Adapters. On Quarkus some research is needed
      2. As a Mesh with Istio. The Envoy proxy can validate coming tokens (ingress) and add tokens to inner calls (egress)
      3. Likely #2, a Kubernetes Ingress Controller can integrate with Keycloak as well

      Options #2 and #3 won't need any implementation on Kogito Runtimes side. It's preferable since we can distinguish infrastructure code from business

              rhn-support-zanini Ricardo Zanini
              rhn-support-zanini Ricardo Zanini
              Karel Suta, Maciej Swiderski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: