argo-cd icon indicating copy to clipboard operation
argo-cd copied to clipboard

Ability to generate Account token for SSO logged user

Open seb-835 opened this issue 1 year ago • 1 comments

Summary

it is impossible to generate an account token for a SSO authenticated user using argocd CLI or through the GUI.

$ argocd login argo.*** --sso --grpc-web
Opening browser for authentication
Performing authorization_code flow login: [....]
Authentication successful
'[email protected]' logged in successfully
Context 'argo.***' updated

$ argocd account generate-token --grpc-web 
FATA[0000] rpc error: code = NotFound desc = account '[email protected]' does not exist

Motivation

Be able to use token for SSO authenticated User like we can do with gitlab, harbor, .... in a way to automate tasks.

Proposal

Add the ability thorugh GUI or through the argocd cli.

seb-835 avatar Aug 29 '23 14:08 seb-835