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

Configuration namespacing for different authUrls #24

Open
tjaneczko opened this issue Aug 28, 2018 · 0 comments
Open

Configuration namespacing for different authUrls #24

tjaneczko opened this issue Aug 28, 2018 · 0 comments

Comments

@tjaneczko
Copy link

Tokens should be saved and read in different configuration namespaces for different authUrls so that multiple GitHub sources can be used on the same machine without needing to delete the config file. This could be accomplished by using the auth URL when reading or writing to the config as follows:

{
  "https://ghe.example.com/api/v3": {
    "user": "enterprise_username",
    "token": "enterprise_token"
  }
}

github.com credentials could either continue to be in the root object for backwards compatibility, or namespaced as well.

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