You can use any parameter. But only Relaystate will be redirected back to SP.
Custom Query Param in WSO2 SAML 2.0 Request
-
08-10-2022 - |
Question
Can add custom query param with wso2 SAML 2.0 request rather than SAMLRequest,RelayState? I want to make SAML request with target URL query param to make redirection to target URL after authentication success. Example :9443/samlsso?SAMLRequest=jZPRb9owE.........&targetURL=home.jsp
Solution 2
OTHER TIPS
You can add custom query parameters in to SAML Request... But only the "RelayState" would be redirected back to the service provider by WSO2IS. If you want to redirect to a target URL after authentication success, You must configure it as ACS in the service provider configurations of the WSO2IS.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow