EC-SEAL / request-manager

0 stars 0 forks source link

How to manage an error from IdP? #6

Closed mvj66 closed 4 years ago

mvj66 commented 4 years ago

Hi @faragom ,

When the IdPms redirects to rm/response, it could be possible a dsResponse with AttributeSet.Status == ERROR.

In such situation, what would it be the expected behaviour of the RequestMngr?

Thank you!

@EC-SEAL/atos

mvj66 commented 4 years ago

Right now, if you try to send incorrect credentials doing an eIDAS rm/request, you obtain this:

image

faragom commented 4 years ago

Hi,

Since we are not aggregating content, if you receive an error response, return an equivalent error response to the SP module that initiated the request. The SP module will propagate this error to the calling SP.

El jue., 11 jun. 2020 a las 12:48, mvj66 (notifications@github.com) escribió:

Right now, if you try to send incorrect credentials doing an eIDAS rm/request http://vm.project-seal.eu:9050/test/client/sp/eIDAS/auth_request, you obtain this:

[image: image] https://user-images.githubusercontent.com/44341774/84376484-84aad180-abe1-11ea-92d0-2f57b8ad65a5.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EC-SEAL/request-manager/issues/6#issuecomment-642566180, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG4HJ64WZQWQKJIFDNWBM4DRWCY6BANCNFSM4N3GNGGQ .

-- Francisco José Aragó Monzonís mitsurugisan@gmail.com

mvj66 commented 4 years ago

Thank you!