Relay State URL


This feature can help you set Relay State values for SSO Login and WP Logout.
Note: If no Relay State URL is configured, the plugin redirects the users to the page from where the Single Sign On was originally initiated.


1. Use Absolute URLs for Relay State

Enable this toggle to send an absolute Relay State URL instead of the relative Relay State URL in SAML request.
Note - In case of an absolute relay state, the relay state would be encrypted to enhance security.

2. Relay State URL

Redirects users to the configured WordPress site URL once they have performed a successful SSO.

3. Logout Relay State URL

Redirects users to the configured WordPress site URL once they have successfully logged out from the WP site.

Note - In case of Single Logout, this functionality can work only when the Identity Provider supports redirecting users back to the WP site after logout.

How to set SSO Login Options?


Follow the steps below to set the URLs in SSO Login Options:

  • In miniOrange SAML 2.0 SSO plugin click on the Redirection & SSO Links tab.

  • Enter the values in Relay State URL and Logout Relay State URL fields.

  • After entering the URLs, click on the Update button.

SSO Login Options

How to set SSO Login Options for Multiple IDP?


The miniOrange plugin allows you to configure redirection behavior after SSO in two ways by determining where users are redirected after login (SSO) and logout.

1. For All IDPs Fallback Configuration


To set up Relay State URL that applies to all identity providers by default, follow the configuration guide here.

2. For a specific Identity Provider(IDP)


Follow the steps below to configure Relay State URLs for a specific IDP:

  • Go to the Redirection & SSO Links tab in the miniOrange SAML 2.0 SSO plugin.
  • Under the SSO Redirection Settings subtab, scroll to the Redirection after SSO Settings section.
  • From the Select your IDP dropdown, choose the IDP you want to configure.
  • Enter the required values in:
    • Login Relay State URL (redirect after login)
    • Logout Relay State URL (redirect after logout)
  • Click Save to apply the changes.

Redirection Relay State URL - Specific IDP

Advantages of SSO Login Options


  • You can use this feature to redirect users to a specific page (like Terms and Conditions or Profile page) after they perform Single Sign-On or logout.

For more information visit our SSO for WordPress page.