Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access tokens management #231

Open
moklidia opened this issue Jun 20, 2023 · 3 comments
Open

Access tokens management #231

moklidia opened this issue Jun 20, 2023 · 3 comments

Comments

@moklidia
Copy link
Collaborator

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.

@moklidia moklidia changed the title Access tokens managemenr Access tokens management Jun 20, 2023
@gadkins
Copy link
Member

gadkins commented Jun 20, 2023

@moklidia
Copy link
Collaborator Author

moklidia commented Jun 27, 2023

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.

  • Please also check the OIDC token login (GHA/Gitlab CI/CD)

@NealArw
Copy link

NealArw commented Jun 30, 2023

TESTED - OK

  • Create and Sign-in via GitHub
  • Create and Sign-in via GHA
  • Create and Sign-in via GitLab
  • Create and Sign-in via GitLab CI
  • Create and Sign-in via CI
  • Sign-in via email
  • Create and Sign-in via GitHub form cli
  • Create and Sign-in via GitLab from cli
  • Sign-in via email from cli
  • Delete accounts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants