Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork937
GHP Authentication no longer working#1801
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Hello, this is the code i have been using for quite some time to update my project from github, coming back to my project after some months it appears github may have changed their api, as using ghptoken@github.com no longer works, it prompts me for a password, and then states Support for password authentication was removed on August 13, 2021. could someone please provide me with the correct way to do this?
|
BetaWas this translation helpful?Give feedback.
All reactions
Is it possible the token has expired?
Both classic (ghp_
) and fine-grained (github_pat_
) personal access tokens can still be used to authenticate on GitHub by placing them in a URL as the username field with no password (among other ways).
When an incorrect personal access token is used, I have found that the"Support for password authentication was removed on August 13, 2021" message is sometimes shown, even if the attempted token has the correct form for a PAT, and even if it was a previously issued PAT that can no longer be used.
However, I have not been able to make that message appear with a revoked classic PAT (only with a revoked fine-grained PAT). So maybe something else is going …
Replies: 1 comment 1 reply
-
Is it possible the token has expired? Both classic ( When an incorrect personal access token is used, I have found that the"Support for password authentication was removed on August 13, 2021" message is sometimes shown, even if the attempted token has the correct form for a PAT, and even if it was a previously issued PAT that can no longer be used. However, I have not been able to make that message appear with a revoked classic PAT (only with a revoked fine-grained PAT). So maybe something else is going on in how the URL is being made. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Apologies, you are correct, i must've messed something up while replacing my old token with the new one. |
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #1800 on January 12, 2024 15:23.