r/cs50•
aven_

GitHub access token authentication doesn't work

IDE

Hey, I've got a problem with authentication through Personal Access Token. I need to use it as I've got 2FA enabled on my GitHub account.

I've created a new Access Token and copied it. When I pass it as my password (`Github password:` in CS50 lab in terminal) I get an error:

Invalid username and/or password.

Username and access token are correct for sure as I just copy them. Access token has permissions to "repo".

Posted Mar 2, 2020, 6:14 PM UTC

22
aven_OP•

The problem was with CTRL+V. When I used Right Click and then "Paste" everything worked.

4

Thank you! Finally got my code through check50 because of your comment.

1