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