GoogleAuth + https

Install and configure FormaLMS and DoceboCE
Post Reply
neurotic
Newbie
Posts: 3
Joined: Sun Oct 07, 2018 2:15 am

GoogleAuth + https

Post by neurotic » Sun Oct 07, 2018 4:46 pm

Hello!

I'm trying to configure the GoogleAuth plugin on Forma LMS.
It works when I use http.
But when I access my Forma LMS login page over https, and then I click the "G+" icon, I get Google's "invalid_request" page.
Please see screenshot.

Are there any special configurations to make Forma LMS + GoogleAuth work over https?

Thanks.
Attachments
FireShot Capture 16 - Error 400 (OAuth2 Error)!!1_ - https___accounts.google.com_o_oauth2_auth.png

User avatar
canelli
FormaLms Guru
Posts: 465
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: GoogleAuth + https

Post by canelli » Thu Oct 11, 2018 4:52 pm

Hi

are you able to use forma.lms with https ?
have you registered in Google auth the formalms app with an https url or only with the http ?
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology

http://www.joint-tech.com
---------------

neurotic
Newbie
Posts: 3
Joined: Sun Oct 07, 2018 2:15 am

Re: GoogleAuth + https

Post by neurotic » Fri Oct 12, 2018 2:09 pm

Thank you for your reply, canelli.

Yes, I am able to log-in and use Forma LMS with https (when not logging in via GoogleAuth).
I have registered the Forma LMS app in GoogleAuth, using both the http and https URLs.

alfa24
FormaLms Expert
Posts: 204
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: GoogleAuth + https

Post by alfa24 » Fri Oct 12, 2018 2:32 pm

Try to open an anonymous session of the same browser and try with another browser. Is the issue still occurring?
I'm Jasmines, the One

User avatar
canelli
FormaLms Guru
Posts: 465
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: GoogleAuth + https

Post by canelli » Sat Oct 13, 2018 6:24 pm

If you are able to login with Google accessing formals through http and reading the Google error
Message, I think there is a bug when you are in https.
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology

http://www.joint-tech.com
---------------

neurotic
Newbie
Posts: 3
Joined: Sun Oct 07, 2018 2:15 am

Re: GoogleAuth + https

Post by neurotic » Mon Oct 15, 2018 10:14 am

alfa24 wrote:
Fri Oct 12, 2018 2:32 pm
Try to open an anonymous session of the same browser and try with another browser. Is the issue still occurring?
Thank you for your reply, alfa24.

I have tried as suggested:
. tried anonymous (AKA incognito) session on Google Chrome - still got the same error.
. tried using Mozilla Firefox - still got the same error.

alfa24
FormaLms Expert
Posts: 204
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: GoogleAuth + https

Post by alfa24 » Mon Oct 15, 2018 10:30 am

Redirect uri is wrong. It contains only https instead of a full url. I couldn't say why this is happening... it could be a wrong rewriting of the url by htaccess...
I should be on your system to investigate the flow.
I'm Jasmines, the One

Post Reply