Open joseph-wakeling-sociomantic opened 7 years ago
It looks like the neptune-release will ask you to create a fresh config, if you don't choose the git-hub's existing token: https://github.com/sociomantic-tsunami/neptune/blob/fecd0d3db5ff61e20e2ee8a4d45b11a73b32544b/src/release/api.d#L109
Ah. Well, maybe it should make that clear when it's asking the question about whether to use the git-hub
token ;-)
It could also handle a bad-credentials result by asking if you want to generate a fresh neptune token.
Currently neptune offers to copy the
git-hub
oauth token, but doesn't offer support for creating a fresh token from scratch.Since neptune users may not be
git-hub
users, it would be helpful if it supported generating a token itself without reference to any other tool, which automatically requests the required permissions/scopes. This could also be useful if e.g. there is a need for different permissions for neptune tokens versusgit-hub
tokens.(Partial motivation: some time spent wondering why I was getting "bad credentials" errors despite copying the
git-hub
oauth token, only to find that on the GitHub side that token had been removed.)