Page 1 of 1

Problems with Google Oauth

Posted: 19 May 2021, 20:35
by vserna
Error 400: redirect_uri_mismatch
The redirect URI in the request, http://www.gestionportal.com/social/googlelogin.php, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/a ... ontent.com

We cant put "http://www.gestionportal.com/social/googlelogin.php" on the configuration of the app URIs
https://www.gestionportal.com/social/googlelogin.php is allowed but not work

Re: Problems with Google Oauth

Posted: 20 May 2021, 09:03
by HSNMSupport
Dear vserna,
For quite some time all Socials (including Google) request HTTPS instead of HTTP.
This is now mandatory.
You need to install an SSL certificate in your HSNM then update all your socials with HTTPS URLs.
You need to update your GWs with an HTTPS certificate to let Socials log in, and of course, use the HTTPS Welcome portal.
Have a nice day.

Re: Problems with Google Oauth

Posted: 20 May 2021, 15:49
by vserna
Dear vserna,
For quite some time all Socials (including Google) request HTTPS instead of HTTP.
This is now mandatory.
You need to install an SSL certificate in your HSNM then update all your socials with HTTPS URLs.
You need to update your GWs with an HTTPS certificate to let Socials log in, and of course, use the HTTPS Welcome portal.
Have a nice day.
Sorry but where can I specify HTTPS option for Welcome portal?

Re: Problems with Google Oauth

Posted: 20 May 2021, 16:17
by HSNMSupport
If you use Mikrotik you've to specify the SSL certificate and the hotspot FQDN in the field for configuring the gateway, under the "guest interface" tab.
Then you need to update your Gw configuration.

Re: Problems with Google Oauth

Posted: 20 May 2021, 17:08
by vserna
If you use Mikrotik you've to specify the SSL certificate and the hotspot FQDN in the field for configuring the gateway, under the "guest interface" tab.
Then you need to update your Gw configuration.
We use Cambium, but the problem is the uri launched by captive portal. The call is in http instead of https

Re: Problems with Google Oauth

Posted: 20 May 2021, 17:22
by HSNMSupport
You need to install an SSL certificate and update to HTTPS.
With Cambium on cloud this is not possible.
You must use CnMaestro on premises.