Redirect not working after FB login / register

This topic contains 9 replies, has 3 voices, and was last updated by  Stiofan O’Connor 7 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #361754

    Marc Mathys
    Expired Member
    Post count: 216

    Hi,

    I’m using the Facebook registration process that comes with Kleo and all works well except in one instance. Settings in the theme are to reload the current page after login and in GD BuddyPress integration they are on default. So when I login from the dashboard widget, the current page gets reloaded.

    Where it doesn’t work is when adding a listing. An unlogged user gets forwarded to a URL that looks like this: https://www.arbolife.com/directory-login/?redirect_add_listing=https%3A%2F%2Fwww.arbolife.com%2Fdirectory-add-listing%2F%3Flisting_type%3Dgd_restaurant

    When creating a user or logging in with username/password, the redirect works. But with the Facebook login (or registration), it tries to reload the current page after successfully logging in. The problem is that for a logged in user to load the URL I mentioned above, it takes them to the home page and not to the intended URL which should be: https://www.arbolife.com/directory-add-listing/?listing_type=gd_restaurant

    How could this be fixed?

    Thanks,
    Marc

    #361817

    Paolo
    Site Admin
    Post count: 31206

    Hi Marc,

    I’ve flagged this for the developers, please provide admin credentials as I’m sure they’ll need them.

    Thanks

    #361858

    Marc Mathys
    Expired Member
    Post count: 216
    This reply has been marked as private.
    #364433

    Marc Mathys
    Expired Member
    Post count: 216

    Hi Paolo,

    Did someone get a chance to look at this?

    Thanks,
    Marc

    #364450

    Paolo
    Site Admin
    Post count: 31206

    I apologize Marc, I fear we missed this. I asked to Stiofan to look into it right away and let you know…

    Thanks for your patience,

    #364453

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Marc,

    Sorry this was missed, i was taking a look at your site but now i can’t reach it, is it down? (i was only on frontend)

    Stiofan

    #364507

    Marc Mathys
    Expired Member
    Post count: 216

    Hi Stiofan,

    No problem. The site is online and fine now, not sure what happened earlier. I noticed Cloudinary had an outage earlier which could have affected the images from the site.

    Anyways, I got a notification that you created an account so you should be able to see the problem. Make sure you’re logged out, then go to this link https://www.arbolife.com/directory-login/?redirect_add_listing=https%3A%2F%2Fwww.arbolife.com%2Fdirectory-add-listing%2F%3Flisting_type%3Dgd_restaurant and login with your Facebook account. You’ll be redirected to the homepage instead of the intended form to add a restaurant.

    Thanks,
    Marc

    #364593

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I think i got blocked somehow, i had to restart my router to get a new IP.
    Please check now.

    Stiofan

    #364643

    Marc Mathys
    Expired Member
    Post count: 216

    Thanks Stiofan, the issue is solved.

    This was the last open ticket I had from the launch. Feeling great!!

    Cheers,
    Marc

    #364647

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Great! The fix will be in the next release of core 🙂

    Stiofan

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket