Symfony integration with simplesamlphp

607 views
Skip to first unread message

Gavin Jackson

unread,
Jan 29, 2020, 11:18:58 PM1/29/20
to SimpleSAMLphp
What are you trying to do?

Hi guys, I'm trying to configure SSO between a simplesamlphp IDP and a symfony 4 (or 5) web application.

Has anyone had success using any of the existing symfony SAML SP bundles?

What have you done?

I have tried four different implementations so far and haven't been successful, so far I have tried:

https://packagist.org/packages/lightsaml/sp-bundle (feels like I got quite close, but the login_check route didn't have a controller registered)
https://packagist.org/packages/pdias/saml-bundle (I think this was too old - errors were displayed trying to install in symfony 3,4 and 5)
https://packagist.org/packages/sgomez/ssp-guard-bundle - this provides a wrapper around a simplesamlphp sp and looked quite promising
https://packagist.org/packages/hslavich/oneloginsaml-bundle (also got close with this one, problems with the assertion consumer service)

Is there anything wrong?

I'm quite new to symfony, so it could be user error - much of the documentation with these modules are pre-flex so I have had to refactor the sample code provided (eg. bundle registration and namespaces have changed significantly from symfony 3 -> symfony 4).

I was wondering if anyone had a sample project written in symfony 4 or symfony 5 that successfully performs authentication and authorization via SAML?

Any help would be greatly appreciated!

Kind Regards,
Gavin Jackson

Paul Okeke

unread,
May 4, 2021, 8:27:49 PM5/4/21
to SimpleSAMLphp
Hi Gavin. I have the same issue as you reported! Did you get any help on this??

Thanks in advance,
Paul

Reply all
Reply to author
Forward
0 new messages