
MacdonaldC.16994 (Customer) asked a question.
We are a service provider, our application supports a redirect parameter in the relaystate. It looks like the relaystate can only be a static value though. Is this true? We have a client using Okta that wants to use the app embed link but put various paths to our application so their users can connect directly to various pages and be logged in.
For example we'd like to tell our client to make their relaystate:
app.example.com/saml/auth?dynamic_redirect={$relayroute}
and then 'relayroute' would be a dynamic path appended to the app embed link by our client for whichever routes they want to direct to.
From a thread in 2017 I found this part which sounds like it was not supported at one point:
We currently only support a statically defined RelayState for IdP-init SAML flows as part of app configuration.
Thanks.

It doesn't appear this can be done from the app embed link but it can be achieved in the direct relay process. More information can be found here, https://support.okta.com/help/s/article/What-are-the-use-cases-of-Deeplink-usage?language=en_US.