Skip to content

0.35b

Choose a tag to compare

@oculos oculos released this 11 Dec 00:09
· 20 commits to main since this release
426f29e

This version adds the possibility of skipping Microsoft 2FA by setting two user session notes:

 authSession.setUserSessionNote("ms-authentication-method", "http://schemas.microsoft.com/ws/2008/06/identity/authenticationmethod/password");
                                            authSession.setUserSessionNote("ms-authentication-method-references", "http://schemas.microsoft.com/claims/multipleauthn");

Just add the ms-authentication-method and ms-authentication-method-references to a mapper for UserSession Notes, with the desired claim names, for example:

http://schemas.microsoft.com/claims/authnmethodsreferences to read the attribute ms-authentication-method-references
http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationmethod to read the attribute ms-authentication-method.