-->
Page 2 of 2

Re: ESP 8266 & Google OAuth

PostPosted: Fri Feb 25, 2022 4:37 pm
by davydnorris
@JurajA no OAuth is a standard authentication protocol widely used by thousands of applications.

And the OPs issue was not in the OAuth exchange - they are having trouble connecting securely to begin with.

Re: ESP 8266 & Google OAuth

PostPosted: Fri Feb 25, 2022 4:59 pm
by btidey
For usage where you want to be sure you are connecting to the legitimate site one can use the setFingerprimt call of the WiFiClientSecure rather than disabling security. This is broadly equivalent to checking the certificate from the site. The fingerprint can be obtained using a standard browser. The fingerprint will need updating if the security certificate is refreshed.

When using this method I have not needed to use NTP or set time on the ESP