-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARP being ran twice #632
Comments
Yes, the ARP is applied twice, since the start. This should be updated in the documentation. As for the unrelated note, this is fixed by #611 I think. |
Is there a reason why? It doesn't make much sense to me.. |
It is currently the way how eduPersonTargetedID works. A solution is to disable the ARP and ensure the AM only outputs the desired attributes. |
Thanks! I had thought of that myself, but I see it as a workaround rather than a solution.
I think it would be fairly easy to implement this.. |
Yes. Although I’m not sure I yet oversee all implications. But a concrete proposal may help there. |
We are also running into some issues with the ARP being ran twice. Most notably: need to disable the ARP completely if doing an AM (otherwise ARP will filter newly created attributes in AM) and ARP with AA will overwrite any changes made in AM to AA sourced attributes. Did you get any further with this already? We also have an interest to improve this. |
@tvdijen I made a proposal in the linked PR. Maybe you can see if this is useful for you as well? |
Works for me! The first and third bullet were the two reasons for me to open this issue.. |
According to this documentation, the processing order is:
first ARP, then AM.
It seems however, ARP is being ran after AM for the second time. Logging seems to confirm this as well (see first + last line):
[2019-02-07 10:01:06] engineblock.INFO: Applying attribute release policy for https://acc-anvs.mavimcloud.com/saml2 {"session_id":"ea5utk4d5iskv2v94l440ofe05","request_id":"5c5bf3d294feb"} [] [2019-02-07 10:01:06] engineblock.NOTICE: AssertionConsumerServiceLocation 'https://acc-anvs.mavimcloud.com/Saml2/Acs' or ProtocolBinding '' were mentioned in request, but not both! Ignoring... {"session_id":"ea5utk4d5iskv2v94l440ofe05","request_id":"5c5bf3d294feb"} [] [2019-02-07 10:01:06] engineblock.NOTICE: AssertionConsumerServiceLocation 'https://acc-anvs.mavimcloud.com/Saml2/Acs' or ProtocolBinding '' were mentioned in request, but not both! Ignoring... {"session_id":"ea5utk4d5iskv2v94l440ofe05","request_id":"5c5bf3d294feb"} [] [2019-02-07 10:01:06] engineblock.INFO: Using internal binding for destination https://engine.sson.accsscict.rijksweb.nl/authentication/idp/provide-consent {"session_id":"ea5utk4d5iskv2v94l440ofe05","request_id":"5c5bf3d294feb"} {"url_params":{"EntityCode":"main","ServiceName":"provideConsentService","RemoteIdPMd5Hash":""}} [2019-02-07 10:01:06] engineblock.INFO: Calling service 'provideConsentService' {"session_id":"ea5utk4d5iskv2v94l440ofe05","request_id":"5c5bf3d294feb"} [] [2019-02-07 10:01:06] engineblock.INFO: Using internal binding for destination https://engine.sson.accsscict.rijksweb.nl/authentication/proxy/processed-assertion {"session_id":"ea5utk4d5iskv2v94l440ofe05","request_id":"5c5bf3d294feb"} {"url_params":{"EntityCode":"main","ServiceName":"processedAssertionConsumerService","RemoteIdPMd5Hash":""}} [2019-02-07 10:01:06] engineblock.INFO: Calling service 'processedAssertionConsumerService' {"session_id":"ea5utk4d5iskv2v94l440ofe05","request_id":"5c5bf3d294feb"} [] [2019-02-07 10:01:06] engineblock.NOTICE: AssertionConsumerServiceLocation 'https://acc-anvs.mavimcloud.com/Saml2/Acs' or ProtocolBinding '' were mentioned in request, but not both! Ignoring... {"session_id":"ea5utk4d5iskv2v94l440ofe05","request_id":"5c5bf3d294feb"} [] [2019-02-07 10:01:06] engineblock.NOTICE: AssertionConsumerServiceLocation 'https://acc-anvs.mavimcloud.com/Saml2/Acs' or ProtocolBinding '' were mentioned in request, but not both! Ignoring... {"session_id":"ea5utk4d5iskv2v94l440ofe05","request_id":"5c5bf3d294feb"} [] EBLOG[5882]: [2019-02-07 10:01:06] engineblock.INFO: Applying attribute release policy for https://acc-anvs.mavimcloud.com/saml2 {"session_id":"ea5utk4d5iskv2v94l440ofe05","request_id":"5c5bf3d294feb"} []
Consider the following scenario for reproduction:
When ARP is set to release A, B, C and D, it works as expected.
Unrelated, but also note the NOTICEs (also twice?). This particular SP is only sending an ACS-location, without protocolBinding. This seems to be a perfectly valid situation according to SAML2intThe text was updated successfully, but these errors were encountered: