You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Amenessisse
The validation seems as necessary, and it doesn't support env values (as I know). But as binding parameter should starts with urn:oasis:names:tc:SAML:2.0:bindings: any way, you can customize its value using environment variable (if you really need it). It will looks something like this: binding: "urn:oasis:names:tc:SAML:2.0:bindings:%env(SAML_SINGLE_SIGN_ON_SERVICE_BINDING_SUFFIX)%".
Hello,
I have found a problem with the config file of this library.
The "binding" parameters don't seems to allow environnement variables.
Example :
The error we encounter :
Invalid configuration for path "nbgrp_onelogin_saml.onelogin_settings.default.idp.singleSignOnService.binding": invalid value.
How i fixed this error :
binding: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
This behavior is managed in src/DependencyInjection/Configuration.php :
It seems like this value " %env()%" is not replaced before the call of validate() method.
Is it really mandatory to have this verification or is there another way to achieve the desired result ?
Thanks.
The text was updated successfully, but these errors were encountered: