How do you fix GitHub auth failures?

No, not doing anything different. Same computer, same workspaces. Again, this worked fine for the past year (or whenever I started trying IDX, except for archived ones) so something changed on your end.

Other people having the issue too: Issue with GitHub Authentication Persistence in IDX - #4 by HACXK

It shows up as a big failure dialog:

in the output:

image

I do see the skip silent failure above that in the logs which is obviously related, but not important. Being unable to push or pull is the important part.

Today, I had same issue, and even after I did a gh auth login (multiple times) to authenticate, I still can’t push.

image

Can’t push at all from this workspace even manual git push.

Something is really messed up with your git/github auth stuff lately.

I tried a project that was using nix stable-23.11 and while it forgets the authentication (which is super annoying still), after a gh auth login, at least I could push.

Maybe the stable-24.05 channel is doing something different?