GHP Authentication no longer working #1801
-
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 ghp [email protected] 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?
|
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
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 …