Title: User gets error when logging in
Last modified: July 8, 2026

---

# User gets error when logging in

 *  Resolved [helgeopedal](https://wordpress.org/support/users/helgeopedal/)
 * (@helgeopedal)
 * [1 month ago](https://wordpress.org/support/topic/user-gets-error-when-logging-in/)
 * Hi! We are using the plugin in a wordpress multisite and most users can log in
   with the one-click authentication. But some users get an error message:
   Message:
   AADSTS75011: Authentication method ‘MultiFactor, PasswordlessPhoneSignIn’ by 
   which the user authenticated with the service doesn’t match requested authentication
   method ‘Password, ProtectedTransport’. Contact the WordPress application owner.
   Does anyone know if there is a solution for this? We believe it is either on 
   the operating system or in the plugin itself. Any settings we can set?Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Anais Pantheor](https://wordpress.org/support/users/anaispantheor/)
 * (@anaispantheor)
 * [1 month ago](https://wordpress.org/support/topic/user-gets-error-when-logging-in/#post-18959640)
 * Hi [@helgeopedal](https://wordpress.org/support/users/helgeopedal/),
 * This is a known Azure AD error when users authenticate with passwordless or MFA
   methods. The plugin requests password-based authentication by default, which 
   conflicts with those methods.
 * You can resolve it by adding this filter to your theme’s functions.php or a custom
   mu-plugin:
 * `add_filter( 'wp_saml_auth_internal_config', function( $config ) {
   $config['security']['
   requestedAuthnContext'] = false;return $config;} );
 * This disables the authentication method restriction, letting Azure AD use whatever
   method the user signed in with.
 * Let us know if that resolves it.
 *  Thread Starter [helgeopedal](https://wordpress.org/support/users/helgeopedal/)
 * (@helgeopedal)
 * [1 month ago](https://wordpress.org/support/topic/user-gets-error-when-logging-in/#post-18962453)
 * Hi, thank you very much! We have implemented the code, and verified that it indeed
   solves the problem! Helge

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fuser-gets-error-when-logging-in%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wp-saml-auth/assets/icon-256x256.png?rev=3348767)
 * [WP SAML Auth](https://wordpress.org/plugins/wp-saml-auth/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-saml-auth/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-saml-auth/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-saml-auth/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-saml-auth/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-saml-auth/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [helgeopedal](https://wordpress.org/support/users/helgeopedal/)
 * Last activity: [1 month ago](https://wordpress.org/support/topic/user-gets-error-when-logging-in/#post-18962453)
 * Status: resolved