mercadolibre / ruby-sdk

MercadoLibre's Ruby SDK
25 stars 35 forks source link

The authentication URL serves an incorrect SSL certificate #6

Open santisamra opened 9 years ago

santisamra commented 9 years ago

The authentication URL 'auth.mercadolibre.com' serves an incorrect certificate ('www.mercadolibre.com'), thus showing a security warning on browsers.

The temporary solution we found was to use 'auth.mercadolibre.com.ar', which serves the correct certificate. I'm not aware which would be a non-country dependant solution.

fsolari commented 9 years ago

Hello, every app belongs to an specific country, so the only way to work with oAuth is by specifying the country domain.

santisamra commented 9 years ago

@fsolari I am aware that every app belongs to a specific country; it would be great if you could remove the default value 'auth.mercadolibre.com' because it seems to work but works incorrectly (the certificate problem I mentioned before).

If there is no default and you specify the need to define the URL for each country , developers will avoid this problem and won't use the current default which brings the issues I mentioned.