Closed Yiu-Kelvin closed 1 month ago
Looks like aws idp is not sending the attributes, looking into that direction now:
I also see you are using bitnami for your install - we don't advise (or support) the use of bitnami for Moodle hosting.
I'm closing this off as it sounds like you've identified the main source of your issues (related to the IDP config.)
What happened? When i try to login with aws identity provider I get the following errors and a blank screen
Deprecated: Function strftime() is deprecated in /bitnami/moodle/auth/saml2/.extlib/simplesamlphp/lib/SimpleSAML/Logger/FileLoggingHandler.php on line 120
Deprecated: Function strftime() is deprecated in /bitnami/moodle/auth/saml2/.extlib/simplesamlphp/lib/SimpleSAML/Logger/FileLoggingHandler.php on line 120
Deprecated: Function strftime() is deprecated in /bitnami/moodle/auth/saml2/.extlib/simplesamlphp/lib/SimpleSAML/Logger/FileLoggingHandler.php on line 120
Fatal error: Declaration of DI\Container::get(string $id): mixed must be compatible with Psr\Container\ContainerInterface::get($id) in /bitnami/moodle/lib/php-di/php-di/src/Container.php on line 124
May 25 17:12:21 210.xxx.xxx.xxx SimpleSAMLphp DEBUG [9618d1ccb5] Deleting state: '_c4e2b6c27d5fc0fdfc2220483520f6004a6742005f' May 25 17:12:21 210.xxx.xxx.xxx SimpleSAMLphp DEBUG [9618d1ccb5] Session: doLogin("52.xxx.xxx.xxx") May 25 17:12:21 210.xxx.xxx.xxx SimpleSAMLphp DEBUG [9618d1ccb5] Session: doLogout('52.xxx.xxx.xxx') May 25 17:12:21 210.xxx.xxx.xxx SimpleSAMLphp DEBUG [9618d1ccb5] Session: '52.xxx.xxx.xxx' not valid because we are not authenticated. May 25 17:12:21 210.xxx.xxx.xxx SimpleSAMLphp DEBUG [9618d1ccb5] auth_saml2: loginpage_hook enter May 25 17:12:21 210.xxx.xxx.xxx SimpleSAMLphp DEBUG [9618d1ccb5] auth_saml2: should_login_redirect enter May 25 17:12:21 210.xxx.xxx.xxx SimpleSAMLphp DEBUG [9618d1ccb5] Session: Valid session found with '52.xxx.xxx.xxx'. May 25 17:12:21 210.xxx.xxx.xxx SimpleSAMLphp DEBUG [9618d1ccb5] Session: Valid session found with '52.xxx.xxx.xxx'. May 25 17:30:05 210.xxx.xxx.xxx SimpleSAMLphp DEBUG [9618d1ccb5] auth_saml2: loginpage_hook enter May 25 17:30:05 210.xxx.xxx.xxx SimpleSAMLphp DEBUG [9618d1ccb5] auth_saml2: should_login_redirect enter May 25 17:30:05 210.xxx.xxx.xxx SimpleSAMLphp DEBUG [9618d1ccb5] Session: Valid session found with '52.xxx.xxx.xxx'. May 25 17:30:05 210.xxx.xxx.xxx SimpleSAMLphp DEBUG [9618d1ccb5] Session: Valid session found with '52.xxx.xxx.xxx'.