Custom error messaging in SSP 2.5.0

1 view
Skip to first unread message

Thomas de Jesus

unread,
Jun 8, 2026, 12:16:21 PM (12 hours ago) Jun 8
to SimpleSAMLphp
I have two situations. The first is disabled users in my LDAP. I need a more informative message than at worst the stack trace and at best, just that an error has occurred.

The second involves DUO MFA. During enrollment into DUO the user often loses the session and an error message like this happens:

- Backtrace:
2 src/SimpleSAML/Error/ExceptionHandler.php:44 (SimpleSAML\Error\ExceptionHandler::customExceptionHandler)
1 vendor/symfony/error-handler/ErrorHandler.php:538 (Symfony\Component\ErrorHandler\ErrorHandler::handleException)
0 [builtin] (N/A)
Caused by: SimpleSAML\Error\Exception: No state with Duo nonce.
Backtrace:
2 modules/duouniversal/public/duocallback.php:59 (require)
1 src/SimpleSAML/Module.php:308 (SimpleSAML\Module::process)
0 public/module.php:17 (N/A)

I just need a simple message telling them they just need to log in again as the session timed out or that they forgot to pay the you took too long tax. 
Reply all
Reply to author
Forward
0 new messages