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

Github access api deprecation notice - access with password #4

Closed
jmcouffin opened this issue Jun 10, 2020 · 2 comments
Closed

Github access api deprecation notice - access with password #4

jmcouffin opened this issue Jun 10, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jmcouffin
Copy link

Hi Andrea,
Just a heads up as I tried Dynhub this morning I recieved this email from github

On June 10th, 2020 at 08:29 (UTC) you used a password to access an endpoint through the GitHub API using DynaHub (Win32NT 10.0.19041; amd64; fr-FR; Octokit 0.32.0):

https://api.github.com/user

Basic authentication using a password to the API is deprecated and will soon no longer work. Visit https://developer.github.com/changes/2020-02-14-deprecating-password-auth/ for more information around suggested workarounds and removal dates.

Thanks,
The GitHub Team

@Dre-Tas
Copy link
Owner

Dre-Tas commented Jun 10, 2020

Thanks @jmcouffin ofr the heads up!

I received that email too, now that you remind me.
I'll have to see how octokit.net, which is the wrapper for the GitHub APIs that DynaHub uses under the hood, is going to respond to that deprecation.

I'll put it in the list

@Dre-Tas Dre-Tas added the enhancement New feature or request label Jun 10, 2020
@Dre-Tas Dre-Tas pinned this issue Jun 10, 2020
@Dre-Tas Dre-Tas added the help wanted Extra attention is needed label Jun 10, 2020
@Dre-Tas
Copy link
Owner

Dre-Tas commented Jun 10, 2020

Actually, now that I'm reading better, what is going to be deprecated is the login with username and password due to security concerns.

They are suggesting to use only the token workflow (which is already implemented in DynaHub) or, even better, the OAuth workflow, which doesn't exist in DynaHub yet, but I'm willing to implement.
I'll leave the username and password option for now, but I'll get rid of it when it is actually deprecated. In the meantime, I strongly suggest everyone creates their Personal Access Token and start getting used to it. It's quite nice and simple!

I understand in principles how OAuth works but I'm not sure how to implement it so any help is more than welcome!

@Dre-Tas Dre-Tas closed this as completed Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants