Git Pull Authentication Keys

Hi!

Recently, I have been using git pull in the replit shell for my projects. However, today it says:

~/ApiServer$ git pull
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/user/myrepl.git'

It was working just well for 5 months until now. I have no idea what happened. My repo is private, when set on public it works, however I would prefer it to be private.

I re-authenticated github with my replit account in the setting but that did not fix it.

2 Likes

Replit deleted their GitHub app (invalidating their oauth tokens in the process) due to a security vulnerability that @LuisAFK found a few days ago, you need to re-link your GitHub account. Check https://blog.replit.com/april-02-potential-github-credentials-exposure for more information.

4 Likes

Seems like using settings didn’t work :sweat_smile:. Had to do it from the import menu. Thanks!

1 Like

Did I help you figure it out eventually?

2 Likes

Yep, you did :slight_smile:. Thanks!

1 Like

You’re welcome! I hope replit behaves in the future, so you don’t have more issues.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.