【Github】Github ~ 多要素認証(MFA)の設定 ~

■ はじめに

今回は、Githubでの多要素認証(MFA)について扱う。

なお、多要素認証(MFA)については、以下の関連記事を参照のこと。

多要素認証(MFA:Multi-Factor Authentication)
https://dk521123.hatenablog.com/entry/2019/10/03/222600

目次

【1】前提条件
【2】設定手順

【1】前提条件

* 今回は、WinAuthを使った方法で設定する。
* WinAuthの設定などについては、以下の関連記事を参照のこと。

WinAuth ~ 多要素認証ソフト ~
https://dk521123.hatenablog.com/entry/2023/02/20/205028

【2】設定手順

1)Githubにログインする

https://github.com/

2)右上のアイコンから[Settings]-[Security] を選択

3)「Two-factor authentication」の[Enable two factor authentication]ボタンを押下

4)[Set up using an app]ボタン押下

5)[Download]ボタン押下し、
 「github-recovery-codes.txt」をダウンロードしとっておく

6)[Next]ボタン押下

7)[enter this text code]リンクを選択
 ⇒ ランダムな文字列が表示されるので、コピー

8)WinAuth を起動し、[Add]-[Authenticator]をクリック

9)以下を入力し、「Verify Authenticator」ボタンクリック
 * Name : 任意(今回は「Github」)
 * 1. Enter ... : コピーしたキーを貼り付ける

10)「3. Verify the following... 」の欄に確認コードが出る

11)Githubに戻り、6桁の数字をに入力し、「Enable」ボタン押下

関連記事

Github ~ 入門編 ~
https://dk521123.hatenablog.com/entry/2019/07/18/234652
Github ~ アクセストークン ~
https://dk521123.hatenablog.com/entry/2022/01/19/113903
多要素認証(MFA:Multi-Factor Authentication)
https://dk521123.hatenablog.com/entry/2019/10/03/222600
WinAuth ~ 多要素認証ソフト ~
https://dk521123.hatenablog.com/entry/2023/02/20/205028