tmforum-oda / oda-canvas

Apache License 2.0
17 stars 48 forks source link

operator: the keycloak identity operator registers for role updates twice #230

Open LesterThomas opened 2 months ago

LesterThomas commented 2 months ago

Description

The keycloak identity operator registers with the partyRole API for each component that is deployed - this is the expected behaviour.

The issue is that the securityController appears to registers to each component twice! If you query the Hub resource of this partyRole API, you can see the listeners that have registered. For the example component you will see:

[
  {
    "callback": "http://seccon.canvas:5000/listener",
    "id": "ffb1b051-e8d5-4198-b0cd-ffcfe702ce16"
  },
  {
    "callback": "http://seccon.canvas:5000/listener",
    "id": "c61b8f3a-b41b-4a27-ba4a-8d781cb8521d"
  }
]

i.e. it seems to have registered twice.