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

can't login on KDE #21

Closed
igalic opened this issue Mar 30, 2016 · 5 comments
Closed

can't login on KDE #21

igalic opened this issue Mar 30, 2016 · 5 comments

Comments

@igalic
Copy link
Contributor

igalic commented Mar 30, 2016

(either #19 ;)
I traced this one down to bryanl/webbrowser#2 however.

@bryanl
Copy link
Contributor

bryanl commented Apr 1, 2016

@igalic I created a fresh Ubuntu 14.04 install, and download the 1.0.0 release and ran doctl auth login. Firefox popped up, and logged me in. Afterwards, the access token was retrieved. Would you mind describing your setup, so I can help you diagnose?

@igalic
Copy link
Contributor Author

igalic commented Apr 1, 2016

I'm very sorry, i thought this issue was universal to xdg-open, but apparently it's not.
so, i think we need to narrow this down to: KDE.

@igalic igalic changed the title can't login on linux can't login on KDE Apr 1, 2016
@vit1251
Copy link

vit1251 commented Apr 2, 2016

Could you process auth without using X11 and browser?

@bryanl
Copy link
Contributor

bryanl commented Apr 2, 2016

Yes, if a CLIAUTH environment variable is set, it'll reply with a link you can visit in your browser. An easier method is to generate a token at https://cloud.digitalocean.com/settings/api/tokens, and add it to $HOME/.doctlcfg manually. The file format is yaml, so you'll add it like

access-token: <your token>

In a future version, there will be a command to manage configuration items.

andrewsomething pushed a commit to andrewsomething/doctl that referenced this issue Jun 8, 2016
@bryanl
Copy link
Contributor

bryanl commented Jun 24, 2016

We've decided to replace the doctl auth login with doctl auth init. It's being tracked in #94.

@bryanl bryanl closed this as completed Jun 24, 2016
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