GoogleAuth + https

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

GoogleAuth + https

Post 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.
Attachments
FireShot Capture 16 - Error 400 (OAuth2 Error)!!1_ - https___accounts.google.com_o_oauth2_auth.png

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

Re: GoogleAuth + https

Post 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 ?
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: 8
Joined: Sun Oct 07, 2018 2:15 am

Re: GoogleAuth + https

Post 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.

alfa24
Senior Boarder
Posts: 964
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: GoogleAuth + https

Post by alfa24 »

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. If you need, you can contact me.

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

Re: GoogleAuth + https

Post 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.
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: 8
Joined: Sun Oct 07, 2018 2:15 am

Re: GoogleAuth + https

Post 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.

alfa24
Senior Boarder
Posts: 964
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: GoogleAuth + https

Post 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.
I'm Jasmines, the One. If you need, you can contact me.

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

Re: GoogleAuth + https

Post 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.

Post Reply