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

Support for manually entering OAuth tokens #452

Closed
Sjlver opened this issue Dec 20, 2013 · 1 comment
Closed

Support for manually entering OAuth tokens #452

Sjlver opened this issue Dec 20, 2013 · 1 comment

Comments

@Sjlver
Copy link

Sjlver commented Dec 20, 2013

Hi,

it would be great if there was a way to manually specify OAuth tokens. Otherwise, a number of things (two-factor authentication, or enterprise auth (see #384)) don't work.

This can be accomplished in a number of ways:

  • document somewhere (other than here) the format of the ~/.config/hub file
  • read the OAuth token from an environment variable
  • provide a new command (e.g., hub set-token) that prompts the user for the token

Thanks!

@mislav
Copy link
Owner

mislav commented Dec 20, 2013

These are valid suggestions, thanks. However, two-factor auth is already fixed in master (release imminent!), and web-based OAuth process for Enterprise is more problematic than just figuring out where to inject the token since it requires you to create an application for hub in your Enterprise installation, then use that application's credentials to start the OAuth process.

I might provide this feature as part of a new command proposed in #225, so I'm closing this as a dup of issues referenced in this thread.

@mislav mislav closed this as completed Dec 20, 2013
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

2 participants