Skip to content

How to set RelayState for IDP initiated SSO #11

Description

@scholtron

Based on the example code here, how would one set the relayState for IDP initiated SSO?
https://github.com/lightSAML/lightSAML-IDP/blob/master/web/idp/initiate.php

It seems this was worked on in the past, but it was not clear how to set it.
lightSAML/lightSAML#51

$action = $sendBuilder->buildAction();

//$context->setRelayState($relayState);
$action->execute($context);
//$context->setRelayState($relayState);

$context->getHttpResponseContext()->getResponse()->send();```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions