Closed migratis closed 3 years ago
Hello,
For the authentication against ECAS/EULogin, I would suggest you to use the package ecphp/eu-login-bundle.
Then, you are free to edit/alter the default provided configuration with any parameter that you want.
As of today, the assuranceLevel
parameter is not set, but it might be soon included, see https://github.com/ecphp/eu-login-bundle/pull/1
Regards.
Dear @migratis ,
Do you have any new feedback on this?
Thanks.
To fix this issue, in the configuration file cas_bundle.yaml add this : cas: ... protocol: ... serviceValidate: allowed_parameters: ...
Only internal users of the commission can be authenticated, when you are an external user (SELF_REGISTERED) you get this response from the EULogin servers :
"response" => "{"serviceResponse":{"authenticationFailure":{"@value":"Invalid user: \"n002a0t6\" belongs to \"SELF_REGISTERED\" users while application accepts only \"INTERNAL\" users or users with higher assurance levels","@attributes":{"code":"INVALID_USER"}},"@attributes":{"server":"EU Login PRODUCTION_GENESIS version 8.0.2.33926 - 07\/09\/2020 - 15:00","date":"2020-10-06T17:33:05.885+02:00","version":"5.8"}}}"
it looks like we miss the assuranceLevel Parameter to allow such authentication.
Steps required to reproduce the problem
Expected Result
Authentication success
Actual Result
Authentication failure