Hi,
I got SAML SSO up and running in my app thanks to Pac4j, but one of the issues I ran into when I started working on this was that ADFS (what I'm using as IdP) by default uses SAH-256 to encrypt data. Pac4j on the other hand expects SHA-1. So I changed my test ADFS config to use SHA-1, and all was fine and dandy.
Now my question is, what if I one of my clients already has an IdP up and running, and for some internal policy (or whatever, this is just hypothetical) requires SAML interactions to use SHA-256? Is there a way to tell Pac4j to use a particular algorithm, instead of always defaulting to SHA-1?
Cheers,
Octavio