0 Members and 1 Guest are viewing this topic.

*

joralves

  • *
  • 5
    • Fique Comigo
  • osDate Version: osDateEvo v1.3
User Login with Facebook mod
« on: May 27, 2018, 05:10:13 AM »
Good evening everyone!!!

I'm trying to set up the redirect URL for Facebook login, I'm not getting it.

I use osDate version 1.3evo

I ask for help.

thankful
« Last Edit: May 27, 2018, 06:51:21 AM by Pharg »

*

Pharg

  • *****
  • 3,125
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: User Login with Facebook mod
« Reply #1 on: May 27, 2018, 07:12:11 AM »
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35

*

joralves

  • *
  • 5
    • Fique Comigo
  • osDate Version: osDateEvo v1.3
Re: User Login with Facebook mod
« Reply #2 on: May 27, 2018, 03:32:02 PM »
Good Morning!
Thank you so much for the help.
Thank you.
Joralves

*

joralves

  • *
  • 5
    • Fique Comigo
  • osDate Version: osDateEvo v1.3
Re: User Login with Facebook mod
« Reply #3 on: May 27, 2018, 08:20:36 PM »
Hello!
The version of the script I use is theDateEvo v1.3, it was already complete.
What happens is that after the visitor logs in to Facebook the page returns to the index of my domain.
I ran a test and was directed to https://www.xxxxxxxx.com.br/index.php?page=login&errid=2.
After accessing the administration I visualized that the cadastre had been done, but totally incomplete.
I understand there should be a return URL to be inserted into:
Valid OAuth redirect URIs.
So after registering with Facebook the visitor would be directed to the page to complement the registration, no?
What is the valid OAuth redirect URI for the visitor to access the add-on registration page?
Thankful.

*

Pharg

  • *****
  • 3,125
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: User Login with Facebook mod
« Reply #4 on: May 28, 2018, 12:15:54 AM »
Hi joralves,

We will look into this, we are also getting the same issue now.

Facebook might have made some changes since we made this login.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35

*

Pharg

  • *****
  • 3,125
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: User Login with Facebook mod
« Reply #5 on: May 28, 2018, 07:28:58 AM »
Hi joralves,

This is the change I had to make to the Facebook app in MyApps in Facebook itself in https://developers.facebook.com/apps/

I noticed it was not whitelisting the URL which normally comes from the: Valid OAuth Redirect URIs

Had to change mine from:
https://www.mydomain.com/_oauth/facebook

To this:
https://www.mydomain.com/people/auth/facebook/callback

Mine is working now.

You also have to have a SSL Certificate for the logins now and in the Client OAuth Settings you must change to Yes for the Enforce HTTPS: Enforce the use of HTTPS for Redirect URIs and the JavaScript SDK. Strongly recommended.

You also need to install a SSL Certificate for your website so it is secure.

Also make sure all the http links are now https in the app.

Facebook also are making further changes.

Attached is the FaceBook signup screen and the More settings (Advanced) pics:
« Last Edit: May 28, 2018, 11:12:45 PM by Pharg »
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35