WordPress.org

Ready to get started?Download WordPress

Forums

Nextend Facebook Connect
[resolved] Redirect / Auth / User issue (10 posts)

  1. thewatts
    Member
    Posted 1 year ago #

    Since I updated to 1.4.29 - I try to register a new user, and instead of creating a new user based on the Facebook Auth - it redirects to the specified login url with this in the URL:

    http://lifegroups.newlifechurch.local/?loginFacebook=1&redirect=http%3A%2F%2Flifegroups.newlifechurch.local%2Fleadership&state=18b6b99d1364246ba2f1eeb70bafbdce&code=AQAWFK5RZ3ZnjT6WZ_pxvnwJEmw_rpQOMQtVchDzYEH8-l3bVYE0rNrjDO18fnDV3YtWjSkcmV57ihqtkZwVAO64i2RwVsu-BAFOlPbOgXfqNOE8MqsetmJ_8KzGExC4J7xDqxcyi-PafZeKC_HD6Ez3vvwrmzn8scG1V0HMk62StaXqddV26iz7CN3KOoKozCqQzm42WVTQWV_0Q7_muKDp#_=_

    If I de-auth the app, and try to do it again, I get a bunch of json data.

    Users aren't created.

    Also - when I click on the "Login with Facebook" button - it actually logs the user in as the admin.

    http://wordpress.org/extend/plugins/nextend-facebook-connect/

  2. thewatts
    Member
    Posted 1 year ago #

    I also will get redirected to the post-login page (without going to Facebook) -
    http://lifegroups.newlifechurch.local/?loginFacebook=1&redirect=http://lifegroups.newlifechurch.local/leadership

    Could it be that I'm trying to use App Test Users?

  3. nextendweb
    Member
    Plugin Author

    Posted 1 year ago #

    Hi!

    Thanks for reporting this problem. So you wrote two independent error as I see. Am I right?

    Your first problem is that the user with Facebook account unable to register.

    And the second that you have a registered user through Facebook, who de-auth the app. Then he's trying to login again and the system log him in as admin.

  4. thewatts
    Member
    Posted 1 year ago #

    Actually, I think I found the major problem with at hand ::

    Facebook's Developer Backend lets you create test users for applications. These are non-public users that still have full Facebook functionality (profile images, they can 'like' things, authorize apps, etc).

    The users I was trying to authorize using your plugin were the test users created by Facebook.

    Is there a way to allow these test users to work with Nextend Facebook Connect?

  5. nextendweb
    Member
    Plugin Author

    Posted 1 year ago #

    I tested it in the last 10 minutes.
    I followed this steps:

    1. Created a test user for the app
    2. Logged in with the test user on my site
    3. The application asked for authorization, I allowed it.
    4. The registration were successful, I were logged in
    5. I logged out from the site
    6. In Facebook I removed the app from the allowed applications
    7. Then I tried to log back
    8. I have to authorize the app again
    9. Then I were logged in wothout problems

    What am I doing different than you?

  6. thewatts
    Member
    Posted 1 year ago #

    The problem I was having - is that I was getting errors when trying to authorize the app after being redirected from my site (with the Nextend link).

    If I wasn't getting errors - I was getting redirected incorrectly -

    EX: http://lifegroups.newlifechurch.local/?loginFacebook=1&redirect=http://lifegroups.newlifechurch.local/leadership

    instead of being redirected to Facebook or Logged in.

  7. thewatts
    Member
    Posted 1 year ago #

    Just a heads up - latest update broke FB Connect Functionality.

  8. thewatts
    Member
    Posted 1 year ago #

    Just a heads up - latest update broke FB Connect Functionality.

    ## update -

    Facebook was getting blocked.

  9. nextendweb
    Member
    Plugin Author

    Posted 1 year ago #

    Please contact me by email and we will find the solution faster ;)
    roland[@@@]nexendweb[.]com

  10. nextendweb
    Member
    Plugin Author

    Posted 1 year ago #

    We were able to fix this in the latest patch :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic