Custom Plugin: Grab user context

Hello there, I need to build an action that sends to a custom API user context information like username and user roles. Is there a service that provides this data like the one that provides search state?

thanks!

You can use http plugin and call the API /internal/security/me to get the current user informations. Something like this await http.get('/internal/security/me')

Awesome, thankyou!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.