Skip to content

Enable Two-Factor Authentication on GitHub

To become a GitHub member, reviewer, approver, or owner of certain projects, besides signing the CLA, your account needs to have two-factor authentication enabled.

Enable Two-Factor Authentication

  1. Log in to GitHub, click the dropdown arrow next to your avatar in the top right corner, and select Settings.

    Settings menu

  2. Select Password and authentication -> Enable two-factor authentication.

    Enable toggle

  3. Select SMS authentication method.

    SMS authentication

  4. Can't find China -! Fortunately, there's always a solution. For example in Chrome, right-click on the current page, select __Inspect_ -> Console, and run the following command at the cursor:

    var option = new Option("China +86","+86");
    option.selected = true;
    document.getElementById('countrycode').options.add(option, 0);
    
  5. Now +86 appears, enter your phone number, click Send authentication code, enter the six-digit code from SMS, and the screen will show 16 recovery codes.

    recovery code

Comments