Get keycloak user in a custom plugin

Hi !

I’m trying to get the user that trigger my python plugin (via CustomButtons) to be able to log this event in the audit log with the right username. My docker is based on the keycloak-inbox example in the orthanc-auth-service.

Is there an example somewhere how to get the user that trigger the event ?

Thanks !

@alainmazy any ideas ?

Yes: if you want quick answers, purchase a dedicated support contract at https://orthanc.team.

Have a nice week-end,

Alain.

No

I have added this in the todo list: Add keycloak username in a custom plugin url or payload

If you want to expedite the feature, you know how to get in touch with us :wink:

BR,

Alain.