elixir-cloud-aai / krini

Run & manage life science analyses
https://krini.rahtiapp.fi/
Apache License 2.0
4 stars 6 forks source link

Quick access to access token #7

Closed uniqueg closed 2 years ago

uniqueg commented 2 years ago

Is your feature request related to a problem? Please describe.

Often we need a Krini-scoped LS AAI access token for test purposes, curl requests etc. Currently, this requires logging in to LS AAI via Krini, then checking out the ELIXIR AAI token endpoint at https://login.elixir-czech.org/oidc/manage/user/tokens. It would be nice if the token was accessible from the Krini UI itself after login.

Describe the solution you'd like

Add a menu point "Copy access token" to the user config in the upper right corner (between "Profile" and "Log out"). When clicking/tapping it, copy the value of the token to the clipboard and show a message informing the user that the token value has been copied to the clipboard.

ghost commented 2 years ago

Hi @uniqueg, can you please assign this issue to me?

uniqueg commented 2 years ago

Done @tanya17-05 :) But also feel free to do that yourself next time. If you don't have the permissions, let me know and I'll give them to you

ghost commented 2 years ago

Thankyou @uniqueg, yes please grant assignment permissions to me :)

uniqueg commented 2 years ago

Done :)