I have question regarding SSO login When try to lo...
# ask-a-descoper
o
I have question regarding SSO login When try to login from the idp initiated login Im getting the error
Copy code
Missing redirect URL for IdP initiated login
If I am adding Post Authentication Redirect URL it works but for non idp initiated login I would like to keep the original redirect url and not override it as in specific cases I add params in it and adding the Post Authentication Redirect URL remove those params Can I add the Post Authentication Redirect URL parameter only for idp logins flow or keep params from original flow?
d
Hi Ofir, In case of SP Initiated login, how do you pass these query params today? Where do you set them?
o
When starting the flow I'm starting it from my site at /login?some_param=value but when I set the Post Authentication Redirect URL in the SSO auth type it override this
d
I see, so to preserve this URL you will need to set it as a flow start input. You can take the url from your browser using location and pass it as “redirectUrl” to the flow start input. The redirectUrl has higher priority then the post auth url.
o
Great, exactly what I needed Thanks