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's basic authentication using a password to the API is deprecated and will soon no longer work #12278

Closed
5 tasks
kkzhang opened this issue Jul 20, 2020 · 4 comments
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail

Comments

@kkzhang
Copy link

kkzhang commented Jul 20, 2020

  • Gitea version (or commit ref): 1.12.1
  • Git version: 1.7.1
  • Operating system: ubuntu
  • Database (use [x]):
    • PostgreSQL
    • [ x] MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • [ x] Not relevant
  • Log gist:

Description

When i cloned a private repo from github, I received a email from Github, says "Basic authentication using a password to the API is deprecated and will soon no longer work".

How can i overcome this problem after that?
...

Screenshots

@mrsdizzie
Copy link
Member

We already support using an application key from Github if you put it in the user name spot. We Just need to update the UI to not ask for username/password

@lunny
Copy link
Member

lunny commented Jul 21, 2020

Just put your personal token on username will resolve the problem.

@lunny lunny added the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label Jul 21, 2020
@IdlePhysicist
Copy link

@lunny I am not the person who opened this issue, but I can confirm putting you Personal Access Token into the username field will work for migrations from GitHub.

@jolheiser
Copy link
Member

Fixed by #12619

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail
Projects
None yet
Development

No branches or pull requests

5 participants