lightSAML / SpBundle

SAML2 SP Symfony Bundle based on LightSAML
https://www.lightsaml.com/SP-Bundle/
MIT License
66 stars 70 forks source link

Send arbitrary values to an IdP via an AuthRequest #50

Open gawpertron opened 7 years ago

gawpertron commented 7 years ago

I can't see an obvious way in the Saml 2.0 documentation or your implementation LightSaml\Model\Protocol\AuthnRequest of a way to send arbitrary values to the Identity Provider.

I am using LightSaml\Builder\Profile\WebBrowserSso\Sp\SsoSpSendAuthnRequestProfileBuilder in your login.php example.

Is there a way of sending arbitrary values to the Identity Provider in the AuthnRequest?

I see in the saml 2 schema there is an "samlp:Extensions" node that can be added to AuthnRequests and I believe any Saml Message, Simple Saml has an implementation of this FYI.