simplesamlphp-module-drupalauth icon indicating copy to clipboard operation
simplesamlphp-module-drupalauth copied to clipboard

Conflict with TFA addon

Open dnwk opened this issue 2 years ago • 1 comments
trafficstars

Describe the bug When Two-factor Authentication (TFA) is enabled for a Drupal account, it will generate SAML error when redirecting to TFA screen.

To Reproduce Steps to reproduce the behavior:

  1. For a user with Two-factor Authentication enabled, landed on Drupal from external site that requests SAML login
  2. Enter username password
  3. PHPSimpleSAML error page will show up before you have a chance to enter TFA code.
  4. see error Unhandled exception An unhandled exception was thrown. Debug information

The debug information below may be of interest to the administrator / help desk:

SimpleSAML\Error\Error: UNHANDLEDEXCEPTION

Backtrace: 1 www/_include.php:17 (SimpleSAML_exception_handler) 0 [builtin] (N/A) Caused by: SimpleSAML\Error\Exception: User not authenticated after login page. Backtrace: 3 modules/drupalauth/lib/Auth/Source/External.php:307 (SimpleSAML\Module\drupalauth\Auth\Source\External::resume) 2 modules/drupalauth/www/resume.php:12 (require) 1 lib/SimpleSAML/Module.php:266 (SimpleSAML\Module::process) 0 www/module.php:10 (N/A)

dnwk avatar May 26 '23 18:05 dnwk

@dnwk I presume you've see the Drupal.org issue by now?

j4-m avatar Jan 30 '24 13:01 j4-m