It’s undocumented at the moment as we want to improve the UX, but the username is your access token and the password is blank. You can get your access token by viewing the dev tools console and filtering on api.
Sorry to revive this thread, but I made a similar mistake while pushing some code commits.
Instead of using the access token, I accidentally entered my Glitch username while committing, which leads to an RPC error.
Now I have copied my user access token. But while pushing the code, it uses the earlier entered username by default and does not prompt for another set of credentials.
Can someone please help me to reset the earlier set credentials on my local repo so that I can use the access token to push code successfully? Thanks!
Hi @neil4droid! You can change things in your .gitconfig file by either going into the file and changing them directly, or in the command line with the following:
On Windows(where I am working), the Glitch credentials are stored in the Windows utility called Windows Credential Manager, which can be accessed from Control Panel - User Accounts - Credential Manager. Under the Windows Credentials, there is an entry for api.glitch.co.m, where you can modify the previously entered credentials.
If someone else is stuck in a similar predicament and is not working on Windows, refer to this answer on Stack Overflow regarding how git manages credentials.
Also if like me, Git Credential manager or VS Code keeps asking you for the credentials for every time you push changes, refer to this answer on how to modify your remote origin URL to include your user access token and password so that manual authentication is not required.