Unable to sign In to Garmin through C# MVC website

455 views Asked by At

I have registered for Garmin API and able to get "Request Token" and "Request Token Secret" but when I try to confirm authorization i.e. when my application redirects a user to the sign in page of "Garmin connect" then even if user enters correct credentials, on signing in it shows "Invalid sign in. (Passwords are case sensitive.)"

On checking console I found below error:

Mixed Content: The page at 'https://connecttest.garmin.com/oauthConfirm?oauth_token=""oauth_callback=""' was loaded over HTTPS, but requested an insecure font 'http://themes.googleusercontent.com/static/fonts/opensans/v8/DXI1ORHCpsQm3Vp6mXoaTb3hpw3pgy2gAi-Ip7WPMi0.woff'. This request has been blocked; the content must be served over HTTPS.

Can't understand what is wrong in this. Any help would be greatly appreciated.

Thanks!

2

There are 2 answers

6
PMerlet On

I understand the problem comes from the font that is loaded over HTTP instead of HTTPS. In order to fix it, just remove http :

//themes.googleusercontent.com/static/fonts/opensans/v8/DXI1ORHCpsQm3Vp6mXoaTb3hpw3pgy2gAi-Ip7WPMi0.woff
0
Erik Arenhill On

The font would not cause invalid logins. Are you sure the user exist in the garmin TEST environment that you are using?

Its not the same database as production, youll need to create new separate accounts there.