How to set SAML RelayState in Actions?


I’m migrating from Rules to Action Flows.
Now I’m completely stuck with migrating the following Rule code:

function (user, context, callback) {
 // some SAML mapping here

  context.samlConfiguration.RelayState = "Some Relay State";
  callback(null, user, context);

I can’t find any working way to set RelayState parameter that should be returned with SAMLResponse.
Is this even possible with Actions?



Hi @aliaksei,

Welcome to the Auth0 Community!

I can’t find a definitive answer on this one. I’ll reach out internally and report back. Thanks.


Hi again @aliaksei,

It sounds like it’s not currently available in Actions. Would you mind sharing a bit about the use case and I can pass it on to our product manager?

Hi @dan.woda,

Sure, the use case is pretty simple and is described here Using Auth0 with Microsoft Active Directory on Amazon AppStream 2.0 | Desktop and Application Streaming

That’s perfect, thanks for the link!

This is also a blocker for us, with the same use case, if that boosts the priority at all.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.