I have a service, that does the following:
- Call authenticate to log the users into the Okta.
- Once logged in I’m returning the Embed Link with the sessionToken appended to the url.
I have some dynamic parameters such as where to navigate to after sso in. Is it possible to pass some parameters to the app when using embed sso link?
I have tried the following:
- On the auth api, there’s a relay state parameter, i have tried that, but when Okta post the saml xml to the app, there were no relay state in the saml xml and the RelayState form field is empty.
- I have also tried appending relayState to the Embed Link, but that didn’t seem to do anything.
PS I do not know what type of sso implementation the app is using SAML, OpenID Connect or whatnot. I’m trying to be agnostic at this level, and the app will have to figure out how to get the relay state depending which sso implementation they have opted for.