Got exception on simplesaml web page in "Configuration" category

31 views
Skip to first unread message

haim.sc...@gmail.com

unread,
Jun 11, 2018, 8:23:57 PM6/11/18
to SimpleSAMLphp



I installed simplesaml by following the instructions.
I went into my website:  https://.../simplesaml
I go into "Configuration" tab
I click "Login as administrator" link
and I got this unhandled exception (tracking: 2a6ff3f6df):

SimpleSAML_Error_Error: UNHANDLEDEXCEPTION

Backtrace:
1 www/_include.php:45 (SimpleSAML_exception_handler)
0 [builtin] (N/A)
Caused by: SimpleSAML_Error_Exception: Cannot find "admin" auth source, and admin privileges are required.
Backtrace:
2 lib/SimpleSAML/Utils/Auth.php:71 (SimpleSAML\Utils\Auth::requireAdmin)
1 modules/core/www/login-admin.php:10 (require)
0 www/module.php:135 (N/A)


What went wrong ?

tracking: 2a6ff3f6df

Peter Schober

unread,
Jun 12, 2018, 4:26:30 AM6/12/18
to SimpleSAMLphp
* haim.sc...@gmail.com <haim.sc...@gmail.com> [2018-06-12 02:24]:
> Caused by: SimpleSAML_Error_Exception: Cannot find "admin" auth source, and
> admin privileges are required.

Then I guess you must have messed up your config/authsources.php.
It (the authsource called 'admin') is there and correct by default.

-peter
Reply all
Reply to author
Forward
0 new messages