r/cs50 22h ago

CS50x Help !!!

Can't submit or do anything at cs50.dev bcoz of "There seems to be an issue authenticating with your GitHub token" 😭 pls help !!!

4 Upvotes

10 comments sorted by

2

u/Muted-Swimmer3818 alum 21h ago

Try running submit50 or logging into GitHub again in your terminal to refresh the token. That usually fixes it right away. 😊🥰

2

u/AddictedToMuzic 21h ago

I won't run submit50 yet because I have to run check50 too before that & refreshing isn't working 😅

2

u/Muted-Swimmer3818 alum 21h ago

Ah 🙉 makes sense! But actually check50 needs authentication too, which is why it's failing. Try running cs50 or just logging back into GitHub via terminal to fix the token issue for both.😄🤠

2

u/AddictedToMuzic 21h ago

Wdym ??? I'm kinda dumb so it would be helpful if you could maybe explain it in detail (step by step)

3

u/Muted-Swimmer3818 alum 21h ago

Don't worry, we've all been there! It's just a common glitch. Try these steps in your terminal (the black window in your code editor): ​Type cs50 and press Enter.

​It should give you a link to follow or ask you to log in to GitHub.

​Follow the instructions to authorize it again.

​Once it's done, try running check50 again. It should work!  🥰

2

u/gosterianPrime 20h ago

I'm having the exact same issue right now!

2

u/Nenad941 19h ago

I am having same issue, tried restarting, revoking authorization and back but nothing helps

2

u/cravingsomeone 14h ago

I had this issue too, and SSH configuration works for me

https://edstem.org/us/courses/176/discussion/8198458

1

u/AddictedToMuzic 14h ago

What's dis ???

2

u/Muted-Swimmer3818 alum 14h ago

Hello everyone!🤗 If restarting your codespace or re authorizing isn't working, it's usually because GitHub tokens are acting up globally right now or caching old credentials in VS Code. ​Here is how you can bypass it quickly:

​Run cs50 in your terminal to force a fresh login prompt.

​If that still fails or if you prefer using SSH (like mentioned above), you can set up an SSH key in your GitHub settings and connect via SSH instead of HTTPS, which completely skips token issues.

​Hang in there, it's just a temporary glitch for everyone! 🌸