

The following mainly records how to solve this problem. Since the address given in the prompt cannot be accessed, please refer to the relevant documents.
Github tokens password#
Remote: Please see for more information.Īccording to the prompt information, github removed the support of password authentication in 2021.8.13 personal access token instead of password authentication. Please use a personal access token instead.
Github tokens code#
The owners of these tokens are notified by email.Use the following command to push the code to github : git push origin mainĮnter the user name and password as prompted, and report the following error: remote: Support for password authentication was removed on August 13, 2021. GitLab runs a check at 02:00 AM UTC every day to identify personal access tokens that expire on the current date.The owners of these tokens are notified by email. GitLab runs a check at 01:00 AM UTC every day to identify personal access tokens that expire in the next seven days.Personal access tokens expire on the date you define, at midnight UTC. ( Introduced in GitLab 12.10.)ĪPI actions as any user in the system (if the authenticated user is an administrator). Available only when the Container Registry is enabled. Read-write (push) for Container Registry images if a project is private and authorization is required. Read-only (pull) for Container Registry images if a project is private and authorization is required. Read-write (pull, push) for the repository through git clone. Read-only (pull) for the repository through git clone. Read-only for the complete API, including all groups and projects, the Container Registry, and the Package Registry. Essentially, access to any of the GET requests in the Users API. Read-write for the complete API, including all groups and projects, the Container Registry, and the Package Registry. In the Active personal access tokens area, next to the key, view the Last Used date.Ī personal access token can perform actions based on the assigned scopes.It is updated each time the token is used to request Token usage is updated once every 24 hours. In the Active personal access tokens area, next to the key, select Revoke.Revoke a personal access tokenĪt any time, you can revoke a personal access token. Read our token security considerationsįor guidance on managing personal access tokens (for example, setting a short expiry and using minimal scopes). Personal access tokens must be treated carefully. To do this, you can append a name parameter and a list of comma-separated scopes You can link directly to the Personal Access Token page and have the form prefilled with a name and Prefill personal access token name and scopes

Save the personal access token somewhere safe.

On the left sidebar, select Access Tokens.In the top-right corner, select your avatar.You can create as many personal access tokens as you like. Use impersonation tokens to automate authentication as a specific user. There is an issue for tracking to make GitLabįor examples of how you can use a personal access token to authenticate with the API, see the API documentation.Īlternately, GitLab administrators can use the API to create impersonation tokens. Though required, GitLab usernames are ignored when authenticating with a personal access token.
