Problems with Google Oauth
HSNM administration backend general discussion

Rate this topic
   Post Reply
6 posts   •   Page 1 of 1
vserna
Posts: 9
Joined: 28 Apr 2020, 19:59

Problems with Google Oauth

by vserna » 19 May 2021, 20:35

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
You do not have the required permissions to view the files attached to this post.

HSNMSupport
Posts: 1553
Joined: 26 Jul 2016, 09:16

Re: Problems with Google Oauth

by HSNMSupport » 20 May 2021, 09:03

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.

vserna
Posts: 9
Joined: 28 Apr 2020, 19:59

Re: Problems with Google Oauth

by vserna » 20 May 2021, 15:49

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?

HSNMSupport
Posts: 1553
Joined: 26 Jul 2016, 09:16

Re: Problems with Google Oauth

by HSNMSupport » 20 May 2021, 16:17

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.

vserna
Posts: 9
Joined: 28 Apr 2020, 19:59

Re: Problems with Google Oauth

by vserna » 20 May 2021, 17:08

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
You do not have the required permissions to view the files attached to this post.

HSNMSupport
Posts: 1553
Joined: 26 Jul 2016, 09:16

Re: Problems with Google Oauth

by HSNMSupport » 20 May 2021, 17:22

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.

Rate this topic

Who is online

Users browsing this forum: No registered users and 4 guests

It is currently 23 Nov 2024, 10:28