Fetch Logged In Username in a webapp secured with Keycloak

前端 未结 5 619
轻奢々
轻奢々 2020-12-14 18:11

I have secured an enterprise application with Keycloak using standard wildfly based Keycloak adapters. Issue that I am facing is that the rest web services when invoked, nee

5条回答
  •  离开以前
    2020-12-14 18:46

    You may also set the principal-attribute property in the keycloak.json file of your web app to preferred_username.

提交回复
热议问题