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

Login #2

Open
einari opened this issue Feb 18, 2018 · 0 comments
Open

Login #2

einari opened this issue Feb 18, 2018 · 0 comments
Milestone

Comments

@einari
Copy link

einari commented Feb 18, 2018

You should be able to log into a cluster.

dolittle login

It should be similar experience to what is for the Azure CLI tool:

$ az login
To sign in, use a web browser to open the page https://aka.ms/devicelogin and enter the code C2QNWSNPC to authenticate.

Then you navigate to http://aka.ms/devicelogin and have to enter that code and then gets logged in. An access token and a refresh token is added locally.

The tokens should be part of our config.json file that sits in ~/.dolittle folder.

The way the Azure CLI does it seems to be somewhat of a standard flow in OAUTH2 as the URL above takes you to:
https://login.microsoftonline.com/common/oauth2/deviceauth

@einari einari added the ready label Feb 18, 2018
@einari einari removed the ready label Mar 11, 2018
@einari einari added this to the 2.0.0 milestone Jun 23, 2018
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

1 participant