India not listed on github as country to enabled SMS based 2 factor login

I want to enable 2 factor auth on github but India is not listed on github as country to enabled SMS based 2 factor login. Does that mean that right now I have only one option to choose App based 2 factor login on github?

1 Like

Yes, you can use TOTP based apps like Authy or Google Authenticator. Plus, this is best posted to Github support.

Also note that SMS is an inherently insecure medium, I’m actually surprised it’s being used for security there as it’s pretty trivial to attack and read SMS transmision.

2 Likes

China also not list on Github country enabled SMS.

If you want, you can still setup 2FA in github and have your indian number registered for backup option.
Steps:

  1. Go to SMS 2 factor authentication.
  2. Inspect element for country dropdown and change “select” > “option” > “value=+91” for any of the country in list and select that option from dropdown.
  3. Now, Enter your number in Phone number text box.
  4. You’ll get the OTP on your number.