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
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
Registered to EULogin with a new user
Authenticate to a symfony app using cas-bundle
Expected Result
Authentication success
Actual Result
Authentication failure
The text was updated successfully, but these errors were encountered:
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 ecphp/eu-login-bundle#1
Regards.
drupol
changed the title
external user of the commission can't authenticate
External EC users can't authenticate
Oct 16, 2020
To fix this issue, in the configuration file cas_bundle.yaml add this :
cas:
...
protocol:
...
serviceValidate:
allowed_parameters:
...
- assuranceLevel
...
default_parameters:
assuranceLevel: "LOW"
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
The text was updated successfully, but these errors were encountered: