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

Feature-Request: command line login #221

Open
erikatdeka opened this issue Mar 2, 2023 · 2 comments
Open

Feature-Request: command line login #221

erikatdeka opened this issue Mar 2, 2023 · 2 comments

Comments

@erikatdeka
Copy link

Currently, when you type cloudctl login, a brower window opens with the login screen. A login from server environments without browser is therefore only difficult or not possible.

It should be possible to add a user and password to the login command. A browser is then no longer needed.
For example: cloudctl login -u -p

@majst01
Copy link
Collaborator

majst01 commented Mar 8, 2023

This is not so easy possible and therefore not implemented actually for oauth based authentication workflows. For the same reason tools like gcloud or github cli do it in the same way we do, they open a browser window where the user is prompted for login credentials. This allows the implementation of 2FA mechanisms for example.

@peterfromthehill
Copy link

Hi,
i would like to take up the topic again because the idea is very interesting.
For example, you mentioned gcloud. There you can use the --no-browser option to display the login URL and get a kind of token back.
Alternatively, I also have the opportunity to handle service accounts in the GCP environment. Is this maybe an option here?

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

No branches or pull requests

3 participants