kikitaMoon / kikitamap.github.io

kikita's blog
http://kikitamap.com/
Apache License 2.0
3 stars 0 forks source link

Token authentication #8

Closed kikitaMoon closed 1 year ago

kikitaMoon commented 1 year ago

Issue:

Due to Token authentication requirements for Git operations,previous git configuration doesn't work any more.

Error:

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. fatal: unable to access ‘github.com/kikitaMoon/kikitamap.github.io‘: The requested URL returned error: 403

Solution:

Use token instead.

Method:

Account --> Settings --> < > Developer settings --> Personal access tokens --> Tokens (classic) --> Generate Token

Reference: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic

Add token to git repo configuration in yaml file.

Solved ! 👍🏻