repl.deploy icon indicating copy to clipboard operation
repl.deploy copied to clipboard

Does not work with private Github repos

Open vyrsh opened this issue 3 years ago • 1 comments

when using private repos, it requires a username and password, when using .replit, it does not ask for this, but simply runs and exits, does not ask for input.

GitHub also tells me this is a to be deprecated form of login

"Basic authentication using a password to Git is deprecated and will soon no longer work. Visit https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information around suggested workarounds and removal dates."

vyrsh avatar Jun 29 '21 16:06 vyrsh

Hi, unfortunately this is the case because the app directly uses the URL to fetch the replit-deploy.json file from the GitHub repo. This is technically possible to do, but it would require implementing authentication on the daemon side. I'm not willing to implement this myself, but I'd be glad to accept a PR

khrj avatar Jun 29 '21 16:06 khrj