• Resolved Dave

    (@dcutri500)


    We’re using SimpleSAMLphp authentication to log in to our site. It’s a custom login page which replaces the WordPress login page. We’re also using your plugin to restrict certain pages. It works great, but the Login & Back feature never works. I’m always sent to the home page after logging in. Any insight on what I would need to do to make that work?

    The URL I shared shows a small lock icon in the sidebar, indicating a locked page. What do you think?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Dave

    (@dcutri500)

    Never mind. I was able to fix it in the simplesamlphp authentication function. There is a ReturnTo parameter which was previously set to $site_url/login. I just had to change it to $site_url . $_SERVER[“REQUEST_URI”] and now all is well. Thanks!

    Plugin Support mark l chaves

    (@mlchaves)

    Hey @dcutri500,

    Good to know. Glad you got it working ??

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Login & Back doesn’t work’ is closed to new replies.