aormsby Posted June 21, 2014 Report Share Posted June 21, 2014 I have a Github repository that I'm trying to sync with my Plastic repository, but I only seem to be able to sync one way. My first sync works only if I don't put in a username/password, and I can successfully sync the Plastic repo with my Github repo. However, when I check-in a change and then try to sync with git again, I always get the error "The credentials introduced for this repository are not valid". This is true not matter what I put into the username/password boxes, even if they remain empty as before. Now, I assume that the username and password asked for are the u/p combo I use to log on to Github. But it's not working. Why? How can I fix this? The repo I'm testing: https://github.com/aormsby/LittleTools-Unity.git Link to comment Share on other sites More sharing options...
aormsby Posted June 22, 2014 Author Report Share Posted June 22, 2014 Hey, I figured out the problem through some extensive research of my own and, I thought I'd leave the fix here for anyone else with this problem since it isn't documented anywhere as far as I can tell. It turns out I actually blocked myself out by using 2-factor authentication on Github, and PlasticSCM doesn't work with 2FA by default. That's why my username/password combination wasn't working when I tried to sync with git. In order to bypass this problem, I had to generate a personal access token in the Github 'Application' settings and then use that as my password in PlasticSCM. Everything works just fine now, and I'm happy as can be. 3 Link to comment Share on other sites More sharing options...
manu Posted June 23, 2014 Report Share Posted June 23, 2014 Hi! Thanks! I wasn't aware of this problem so thank you for giving us the resolution! Link to comment Share on other sites More sharing options...
Sam Posted November 19, 2019 Report Share Posted November 19, 2019 On 6/22/2014 at 9:30 PM, aormsby said: I had to generate a personal access token in the Github 'Application' settings and then use that as my password in PlasticSCM. It is now in 'Developer settings' (settings -> developer settings -> personal access token -> generate new token), but the solution is still working 5 years later ;-). Thank a lot ! https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line 2 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now