AssertionConsumerService method is not hitting by itfoxtec-identity-saml2

42 views Asked by At

I am using itfoxtec-identity-saml2 library to implement SAML2, but As per I know AssertionConsumerService method must be hit when login or logout. I have been trying all test solutions available in the github.com/ITfoxtec/ITfoxtec.Identity.Saml2, but none of them hit the method. Does any one know how to force or hit this method?

I am expecting that AssertionConsumerService method be hit after login method or logout method.

2

There are 2 answers

2
Anders Revsgaard On

The AssertionConsumerService endpoint / method is part of the login sequence, not logout.

You can test with two sampels

You start the login sequence in the RP which call the IdP. After success or error the IdP call back the RP on the AssertionConsumerService endpoint.

0
Julio Angel Salinas Rozo On

I already know how to hit ACS by runing TestIdCore and TestWebAppCore. In TestWebAppCore settings I left IdPMetadata pointing out to TestIdPCore and it returns AssertionConsumerService path. Briefly, TestIdPCore acts as a pivot project for others.