authy-form-helpers icon indicating copy to clipboard operation
authy-form-helpers copied to clipboard

Require external list of country codes

Open ruimarinho opened this issue 10 years ago • 3 comments

Currently, there is no easy way to find out which country codes are supported by Authy. Documentation refers to the list of countries in this project but it does not mention if this list is authoritative.

My suggestion is sourcing the excellent countries project by @mledoze, specifically the json data file and simply pluck the columns you're interested in. If, by chance, you do not support all of the countries listed there or support others (my diff shows countries with calling codes 599 and 882 are supported by Authy but not available on the countries json file), then I'd recommend sourcing the file anyway, adding those extra calling codes and version that file so that it can be sourced by other projects too as authoritative.

ruimarinho avatar Jul 02 '14 09:07 ruimarinho

Thanks Ruimarinho, I'll take a look. We'll add a full country list soon.

danpal avatar Jul 02 '14 18:07 danpal

@danpal I've added this list for validation on https://github.com/seegno/co-authy.

ruimarinho avatar Jul 09 '14 10:07 ruimarinho

There is one part of the OP that I feel didn't get answered here, and that is, are the dialing codes authoritative? Considering that some dialing codes are not present in the collection, does that mean that Authy doesn't work for those codes, or will authy work for any valid dialing code?

humanchimp avatar Oct 15 '15 23:10 humanchimp