WordPress Single Sign-On Customized Login and Logout flow



Whenever you Single Sign-On into WordPress, by default your post login & logout flow redirect to the relay state or the URL from which you initiate the process and you end up on your WordPress page. In our WordPress Single Sign-On ( OAuth / OpenID Connect ) plugin, we provide an option to customize the post login and post logout redirect flow.

WordPress SSO customize login and logout url

You can see these options on our Sign In Settings tab. Please find the exact path below:
miniOrange OAuth >> Sign In Settings >> Advanced Settings:

Custom Redirect URL post Login:

  • This feature allows you to configure the redirect URL wherever you want to redirect users after login. It allows flexibility to redirect the users after login to the page you want.
  • WordPress SSO customize login and logout url

Custom Redirect URL post Logout ( Single Logout ) :

  • This feature allows you to configure the URL wherever you want to redirect users after logout. It allows flexibility to redirect the users after logout to the page you want.
  • WordPress SSO customize login and logout url

Advantages of using this feature:

    Post Login Customized URL:

  • In many use cases, users need to be redirected to a particular page rather than a default WordPress page, so this feature is handy in that case to allow all the users to redirect to a desired page rather than the default page.
  • Post Logout Customized URL:

  • Clicking on the logout option provided by WordPress just logs out users from the WordPress site, but there are many cases where the users have to be logged out from the IDP side as well, so this feature is handy in such situations. Single Logout might be different flow in some cases, but in many cases it can be achieved for a single IDP setup.

How to configure Post Login and Post Logout URL?

    Post Login Redirection:

    • Navigate to the Sign In Settings tab.
    • Enter the URL you want the users to be redirected to when they login in the field opposite to Custom redirect URL after login.
    • For example, if you want your users to be redirected to Google after they login, you can configure it like so:
    • WordPress SSO customize login and logout url
  • NOTE: You can keep this field blank if you want the users to be redirected to the same page where they clicked on the login button.
  • Post Logout Redirection (Single Logout ):

    • Navigate to the Sign In Settings tab.
    • Enter the URL you want the users to be redirected to when they logout in the field opposite to Custom redirect URL after logout.
    • For example, if you want your users to be redirected to Google after they login, you can configure it like so:
    • WordPress SSO customize login and logout url

Need Help?

Mail us on oauthsupport@xecurify.com for quick guidance(via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com