lightSAML / SpBundle

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

Add RelayState parameter to login route #82

Open mleguen opened 4 years ago

mleguen commented 4 years ago

The RelayState parameter is a common way for a frontend to tell the backend to which URL it should be redirected after a successful SAML login.

This RelayState parameter is correctly handled by lightsaml, but was ignored by the SpBundle routes.

This PR adds RelayState handling in login and discovery routes.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-5.5%) to 92.308% when pulling 6c6ca2f5bcd138f457563600444405dd29a292e5 on mleguen:feature/2-add-relay-state-parameter-to-login-route into b1c53da76366cd41ed90af178a66078843c19b1d on lightSAML:master.