Using SAML with diferent versions

Hello,

We’re implementing SAML Login in our application, we use different versions for our environments “develop” and “production”.
We have configured the service provider to call an API on our production environment.

But when we use in the develop environment, we need to redirect to that URL with the authorization cookies. Is there a way to do that?

Thank you in advance.

How are you separating your development and production environments in Losant? Are these separate applications? Separate experience versions each with their own domain / slug?

The Endpoint Reply Node has a simple redirect mechanism built in, but for your use case you may need to bypass the simple option and manually configure the HTTP headers and response code to get the functionality you are looking for. You can use block helpers to evaluate whether this is your production or development environment based on values on the payload.