Hello,
I have been trying to connect via SAML to a custom defined MS app (using a commercial office365 account). I get this error:
org.pac4j.saml.exceptions.SAMLAssertionAudienceException: Assertion audience [spn:165313b8-5665-42a0-9303-3b63c259808c] does not match SP configuration 165313b8-5665-42a0-9303-3b63c259808c
however the issue is the fact that the audience received from MS contains a spn: prefix. Otherwise it is exactly the same.
<AudienceRestriction>
<Audience>spn:165313b8-5665-42a0-9303-3b63c259808c</Audience>
</AudienceRestriction>
Anyone had this type of issue?
Thank you,
Len Corciovei