Open qwertz182 opened 2 years ago
@as-dialoggroup nice suggestion. Yes, I like this idea. Time is sparse these days, so I will mark this as an enhancement. In the meantime, if you have some time to create a PR, I would make the time to review it. If not thats cool. Thanks for sharing your idea!
I guess I could do that. Can't guarantee it the next days, but I'd be happy to it
If 'samlidp.encrypt_assertion' is set to true, the SP certificate is needed. It would be great if it was possible to add it from a file instead of placing that long ugly certificate string inside the .env file.
In the package "aacotroneo/laravel-saml2" this is done in the config by adding a prefix like this:
'x509cert' => 'file://' . storage_path('samlsp/cert.pem'),
As far as I could see in the code, the LightSaml package offers a
loadFromFile()
method in theX509Certificate
class.Regards,