• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - IDE Cannot push to Github anymore - GitHub Login Dialog does not work

LeonDr

Member
I understand that there were some changes on GitHub that required changes to GameMaker Studio.
So I recently upgraded to the latest version of GameMaker IDE: 2.3.4.580
However, when I want to push my changes I get this new GitHub Login Dialog. When I provide my GitHub credentials, nothing happens, it just closes without any message or pushing any changed.
I confirmed that my credentials were correct since I copied the same username/password to the GitHub website and it accepts these credentials.
Anyone has a clue?
 

chamaeleon

Member
I don't bother with using source control inside GMS, but I'll guess it's related to
With the August 13 sunset date behind us, we no longer accept password authentication for Git operations.
 

LeonDr

Member
Here an update of an older story, hopefully it will be useful to someone.

I fixed the issue by creating a token on github as follows:
Log in to Github website , Click on your profile -> Settings ->Developer Settings -> Personal access tokens -> Generate new token -> Check the Repo checkbox -> Generate token.

The generated token you can now be used as a password. (I'm not sure if you can use this token as a password in the GIThub login dialog, since it does not pop up for me anymore).
I went to the config file in the \.git folder and updated my url as follows:
url = https://MYNAME:[email protected]/MyProject/myGame.git
Replace MYNAME with the git username (use the git username, not email address)
Replace TOKEN with the token from github.

Be aware that the token is now stored in a plain text file.
Remember to occasionally renew your token, by default it will expire.
 
Top