akuity / kargo

Application lifecycle orchestration
https://kargo.akuity.io/
Apache License 2.0
1.66k stars 141 forks source link

Display logged in username on the UI #2764

Open WZHGAHO opened 2 weeks ago

WZHGAHO commented 2 weeks ago

Proposed Feature

I would like to have it displayed the currently logged in user on the web UI. It would also make sense to display the claims the user has.

Motivation

In case of SSO login, currently there is no information displayed on the UI who is the currently logged in user. At the moment only way to determine who is the logged in user is to generate an API call and in browser's developer mode decode the JWT bearer token.

jessesuen commented 2 weeks ago

We'll likely want a User-Info section like in Argo CD to display the full information:

Screenshot 2024-10-17 at 12 27 29 PM
krancour commented 2 weeks ago

I also tagged this as CLI because I'd like to add a whoami command. I'll create a separate issue for it as soon as I have a chance.