open-metadata / OpenMetadata

OpenMetadata is a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
https://open-metadata.org
Apache License 2.0
5.1k stars 969 forks source link

feature request: refresh JWT token button #16898

Open mgorsk1 opened 2 months ago

mgorsk1 commented 2 months ago

Is your feature request related to a problem? Please describe. When I generate user JWT token and it expires, the only button I have is 'Revoke' - which at this point doesn't make sense as there is no point in revoking expired token. What would be more useful is 'Refresh' button that automatically refreshes expired token. Currently the process of 'refreshing' is cumbersome - I need to 'Revoke' already expired token and generate new one.

Describe the solution you'd like 'Refresh' button for expired tokens. After clicking on it I can choose token expiration time (default one is the one that was set before).

Describe alternatives you've considered n/a

Additional context n/a

harshach commented 2 months ago

@mgorsk1 you can do so via revoke and generating a new token right

mgorsk1 commented 2 months ago

I can, this feature request is more an UX improvement suggestion, I often generate hourly tokens and it's one click less I could have. And it might be slightly confusing why I would revoke already expired token.