camunda-community-hub / camunda-platform-7-keycloak

Camunda Keycloak Identity Provider Plugin
Apache License 2.0
130 stars 71 forks source link

Extracted UserId is Always the Internal Keycloak Id When REST API is Used #104

Closed hassan-ghanem closed 1 year ago

hassan-ghanem commented 1 year ago

Even though user-name-attribute is set to preferred_username, the extracted userId is always the internal keycloak Id when REST API is used.

image

VonDerBeck commented 1 year ago

Thanks @hassan-ghanem,

because the SSO example ist what it says - just a sample showing you the way - the source code does not take care of each and every configuration aspect. The documentation should give some hints.

Anyway, your PR looks simple and would make that aspect even more flexibel out of the box. 👍

I will have a look the PR later.

VonDerBeck commented 1 year ago

Thanks a lot. Good idea to make the sample more generic. Love that 👍