jitbit / AspNetSaml

Very simple SAML 2.0 consumer module for ASP.NET/C#
https://www.jitbit.com
Apache License 2.0
361 stars 118 forks source link

Added ForceAuthn support #51

Closed cbroxton closed 1 year ago

cbroxton commented 3 years ago

Added support for adding the "ForceAuthn" attribute

https://wiki.shibboleth.net/confluence/display/SP3/ForceAuthn

alex-jitbit commented 3 years ago

1) I don't like that there's no way to send a request WITHOUT this attribute.. 2) Shouldn't it be lowercase? Like forceAuthn="true" ?

cbroxton commented 3 years ago

1) Have made it nullable so it will just be excluded if a value isn't set. 2) Ye you're probably right, have changed.

cbroxton commented 3 years ago

@alex-jitbit This should be ready to re-test now

alex-jitbit commented 1 year ago

I've added this as a separate commit 55bd562b29145de98fff41a81d5d30a9073592d6 due to a recent file rename/move