-
Notifications
You must be signed in to change notification settings - Fork 21
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
GitHub token creation/nbinit #14
Comments
Alternatively place the token in |
Note - this is the error i get running
|
related to this is -- is this As it currently stands in the PR below, i just check for the config file in the template dir. if that contains the token then nbinit doesn't do anything. If not, it will authenticate and create a token. NOTE - this will still fail if a token exists (i think??) as i believe authorize() makes a new token. I tried to figure out how to get a list of existing tokens and was having some issue with that. there is a check_auth method that i think might do what we want. I think we want to
|
Good catch with the deprecation. I hadn't noticed this. Take a look at #40 |
#40 doesn't quite close this issue as we still use a file local to the repository to store the token instead of placing it in |
When running
nbinit
check localconfig.yaml
for existing token and reuse it.If there is no token then use something unique in the note for creating the token as we can't create two tokens with the same name.
The text was updated successfully, but these errors were encountered: