Token doesn't work on CS50 IDE

Aug 10, I created a token to replace my password for using check50 and submit. It does not work. I don’t know how to solve this. Any suggestions? Thanks

To get help, you’ll need to provide more details:

  • What exactly are you doing?
  • What exactly happens?
  • What did you expect to happen?

“It does not work” just tells me is that whatever is happening isn’t what you expected, but nothing about what might be going on. :wink:

I should have been more specific.
I generated a Personal Access Token at GitHub/…/tokens, after logging in. This went well, Token granted.
When using check50… in the CS50 IDE terminal first my username is requested followed by password. Now you should (GitHub document guidance) after log in username submit Personal Access Token in password request instead of the original password. The verification didn’t work and I was prompted that I probably used a password instead of a Token.
I cannot figure out what causes the problem.

Without knowing that IDE, the process seems correct in principle. The first question that comes to mind is whether your token has the right scopes, usually you’ll need at least repo to work on a repository.

You can check the scopes your token has by making an API request and checking the X-OAuth-Scopes header as described here: Scopes for OAuth Apps - GitHub Docs