Security

Using relaystat with SAML

aamer86
Path Finder

Hi all

I have a question about using relaystate with SAML when using Azure Ad B2C as the Idp
we successfully managed to integrate Splunk as SP with AD B2C as Idp using SAML and Custom policies
Now we want to redirect the users after successfull authentication to another url
the only way forward I could find was via the Relaystate parameter
below are all the combinations I tried for the Single Sign On (SSO) URL:

https://<tenant-id>.b2clogin.com/<tenant-id>.onmicrosoft.com/B2C_1A_signup_signin/samlp/sso/login?SAML_Request=<base64_SAML_Auth_Request>&RelayState=https%3A%2F%2FredirectWebsite.com
https://<tenant-id>.b2clogin.com/<tenant-id>.onmicrosoft.com/B2C_1A_signup_signin/samlp/sso/login?RelayState=https%3A%2F%2FredirectWebsite.com
https://<tenant-id>.b2clogin.com/<tenant-id>.onmicrosoft.com/B2C_1A_signup_signin/samlp/sso/login?RelayState=https://redirectWebsite.com

I keep getting the error
error while parsing relaystate. failed to decode relaystate.

any advise on how to embed the relaystate in the SSO

Labels (3)
0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...