Page 1 of 1

GoogleAuth + https

Posted: Sun Oct 07, 2018 4:46 pm
by neurotic
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.

Re: GoogleAuth + https

Posted: Thu Oct 11, 2018 4:52 pm
by canelli
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 ?

Re: GoogleAuth + https

Posted: Fri Oct 12, 2018 2:09 pm
by neurotic
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.

Re: GoogleAuth + https

Posted: Fri Oct 12, 2018 2:32 pm
by alfa24
Try to open an anonymous session of the same browser and try with another browser. Is the issue still occurring?

Re: GoogleAuth + https

Posted: Sat Oct 13, 2018 6:24 pm
by canelli
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.

Re: GoogleAuth + https

Posted: Mon Oct 15, 2018 10:14 am
by neurotic
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.

Re: GoogleAuth + https

Posted: Mon Oct 15, 2018 10:30 am
by alfa24
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.

Re: GoogleAuth + https

Posted: Mon Jan 07, 2019 7:56 am
by neurotic
Thank you alfa24.
I suspect the same thing.
I'll continue looking into this when time permits.
I just need some pointers on where to start looking.