How to obtain logged in session information

I am developing a custom page via an app plugin.
I’m trying to use the information of the logged-in user of grafana on the front (react).
How can I obtain session information?

1 Like

Use config from @grafana/runtime and you can access the current user via config.bootData.user

1 Like