Page 1 of 1

Facebook login issues

Posted: Fri May 26, 2017 1:05 pm
by AllanR
Hi all,
Is anyone currently successfully using Facebook login?

After many errors i have got to an error i cant pass:

https://www.facebook.com/dialog/oauth?t ... ode&scope=

On the facebook app settings i have:
App Domains: mediccentre.net forma.mediccentre.net

Client OAuth Login YES
Web OAuth Login YES
Embedded Browser OAuth Login YES
Force Web OAuth Reauthentication NO

Valid OAuth redirect URIs
http://forma.mediccentre.net/index.php? ... book_login

Server IP whitelist my server IP (its a shared server)
Require App Secret YES

Domain manager http://forma.mediccentre.net
http://www.forma.mediccentre.net


On the FormaLMS social settings:
Facebook enabled
Fb API code "Client Token"
Fb Secret code "App secret"


The error has no indication what is set wrong?
Any ideas?

Regards


Allan

Re: Facebook login issues

Posted: Fri May 26, 2017 1:56 pm
by max
Hi Allan, the most relevant thing I found on the forum is this thread, hope it helps viewtopic.php?f=14&t=12232&p=16055&hili ... ook#p16055

Re: Facebook login issues

Posted: Fri May 26, 2017 2:31 pm
by canelli
Hi Allan

I played with facebook login some times ago .....
I will test a facebook login and verify what kind of problem can be . Have you checked the php / apache error log on server ?
have you using other social login with success ?

claudio

Re: Facebook login issues

Posted: Sat May 27, 2017 1:29 am
by AllanR
Hi Claudio,
I cant actually see any errors in my server error log?
Would being on a shared server hosting plan have any effect?

Re: Facebook login issues

Posted: Wed May 31, 2017 10:41 am
by canelli
Hi Allan
the access to the apache error log , where php wrote any error , may be or not be accessible in a shared hosting depending by configuration of your provider . you must check in your hosting control panel.

can you post the php version and php module enabled ?
to use facebook login your php must be configured:
  • with openssl extension
  • allow_url_fopen = on configuration
you can check these php options in the server configuration page (link available in the super admin dashborad )