[x]):Not sure I want to enter my creds there
Yesterday created a mirror of a repo I have on Github. When I went to do that in gitea it prompted me for my Github username and password. Everything worked fine and it was mirrored. Then I got the following email from Github:
"
Hi (my username),
You recently used a password to access an endpoint through the GitHub API using go-github. On July 1st, 2020, basic authentication using password to this endpoint will no longer work:
https://api.github.com/repositories/(my repository)
We recommend using a personal access token (PAT) with the appropriate scope to access this endpoint instead. Visit https://github.com/settings/tokens for more information.
"
So I think that needs to be supported rather than username password.
Thanks for the heads-up!
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Got a thanks for the head's up, bu don't see any comments that this was handled, so I'm doing what the stale-bot said and adding a comment
Sorry, I've set this to be solved by 1.12.0 so we don't miss it.
Yeah, no worries. Just following stale-bot's instructions.
@djotaku @guillep2k Gitea has supportted put your token in the username box to migrate repository. So we only need to put some notice on the UI that If you are migrating repository from github, Username/password will not be supported by github. You could still put your personal access token on username box to migrate your repository from github.
@djotaku @guillep2k Gitea has supportted put your token in the username box to migrate repository. So we only need to put some notice on the UI that
If you are migrating repository from github, Username/password will not be supported by github. You could still put your personal access token on username box to migrate your repository from github.
@lunny Wouldn't it be better if the Username/Password functionality got replaced altogether by Token authentication?
e.g. Remove the username and password fields and add a Token field. Maybe add check if the URL contains github.com or try to resolve it when the user inputs it and if it is a Github URL replace the authentication parameters from Username and Password to Token.
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Username / Password field text should be replaced by Token field?
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Now we only support token. So I close this and feel free to reopen it.
Most helpful comment
Got a thanks for the head's up, bu don't see any comments that this was handled, so I'm doing what the stale-bot said and adding a comment