Noticed that the Saml2AuthnResponse
Destionation
is set based on the relyingParty.SingleSignOnDestination
which is retrieved from a "configuration" (harcoded relyingParties array).
I think the Destination
should be based on what is set in the AuthnRequest
samlp:AuthnRequest
-> AssertionConsumerServiceURL
and use the relyingParty
Destination
maybe as a fallback if its missing from the AuthnRequest
, but from what I see every AuthnRequest
contains the ACS URL.
Or is there a reason why it is implemented this way ?
Thanks