Open moklidia opened 1 year ago
Notes for testing:
Authentication
The old login command (username/password) is called via the --email
option
uffizzi login --email
uffizzi login
will post a browser link. After the browser sign-in there should be a success message in the CLI.
After about 5 minutes if the browser login didn't happen - the CLI session should expire.
If the user is already signed in, do not ask to sign in again.
Account/project selection
After a successful login if the account/project are not set in the config, the user should see a list of existing accounts. After a selecting an account, he should be able to select a project or create a new one.
TESTED - OK
The uffizzi CLI needs to support login with an access token in addition to OIDC tokens and username/password based login to allow Github/Gitlab users to authenticate without GHA or Gitlab CI/CD.