0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ServiceNowでgithubいじってたら'The user only has read access to the repo. Make sure the user has both read and write access.'

Posted at

この解決策が当てはまる前提として
・これまで正常に使えてたのに...。
・2021/08/13日以降のエラー
・ServiceNowのgithub認証でパスワードを使用していた

原因
Githubが2021/08/13をもって外部からのパスワード認証を廃止したためです。

手順
1, GitHubでアクセストークンを生成してください。
Your github page(Your icon) > settings > Developer settings >Personal access tokens > 'Generate new token'

※アクセストークンは生成したとき一度しか表示されませんので忘れずにメモを!(もし忘れてもまた作ることはできます。)

2, ServiceNowのGithubのCredentialを設定し直す。
ServiceNow > Service Management > Connections & Credentials > Credentials

3, あなたが使ってたGithub credentialをクリックして、パスワード欄にアクセストークンを記入して更新してください。

4, 以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?