Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moodle PHP one login SAML error #3

Closed
sulaganathan opened this issue Nov 5, 2015 · 6 comments
Closed

Moodle PHP one login SAML error #3

sulaganathan opened this issue Nov 5, 2015 · 6 comments

Comments

@sulaganathan
Copy link

Hi

One of our client is requested us to review the one login SAML plugin and when we do so we got some error on QA.

After enabled the onelogin and when we do logging out, we got the following error.

Exception - Invalid array settings: idp_entityId_not_found, idp_sso_not_found

More information about this error

Debug info:
Error code: generalexceptionmessage
Stack trace:
line 107 of /auth/onelogin_saml/lib/Saml2/Settings.php: OneLogin_Saml2_Error thrown
line 76 of /auth/onelogin_saml/lib/Saml2/Auth.php: call to OneLogin_Saml2_Settings->__construct()
line 80 of /auth/onelogin_saml/index.php: call to OneLogin_Saml2_Auth->__construct()
Output buffer:
Notice: Undefined property: stdClass::$saml_strict_mode in /var/www/mrhosts/V_20_NEXT_QA/auth/onelogin_saml/functions.php on line 46

Notice: Undefined property: stdClass::$saml_debug_mode in /var/www/mrhosts/V_20_NEXT_QA/auth/onelogin_saml/functions.php on line 47

Notice: Undefined property: stdClass::$saml_nameid_encrypted in /var/www/mrhosts/V_20_NEXT_QA/auth/onelogin_saml/functions.php on line 72

Notice: Undefined property: stdClass::$saml_authn_request_signed in /var/www/mrhosts/V_20_NEXT_QA/auth/onelogin_saml/functions.php on line 73

Notice: Undefined property: stdClass::$saml_logout_request_signed in /var/www/mrhosts/V_20_NEXT_QA/auth/onelogin_saml/functions.php on line 74

Notice: Undefined property: stdClass::$saml_logout_response_signed in /var/www/mrhosts/V_20_NEXT_QA/auth/onelogin_saml/functions.php on line 75

Notice: Undefined property: stdClass::$saml_want_message_signed in /var/www/mrhosts/V_20_NEXT_QA/auth/onelogin_saml/functions.php on line 76

Notice: Undefined property: stdClass::$saml_want_assertion_signed in /var/www/mrhosts/V_20_NEXT_QA/auth/onelogin_saml/functions.php on line 77

Notice: Undefined property: stdClass::$saml_want_assertion_encrypted in /var/www/mrhosts/V_20_NEXT_QA/auth/onelogin_saml/functions.php on line 78

logout_error

We have tested in one login PHP SAML version 2015081001 on Moodle 2.8

Please suggest the fixes

@pitbulk
Copy link
Contributor

pitbulk commented Nov 5, 2015

I will deploy a fresh moodle 1.8, install and review the plugin and fix it asap.

Thanks for report the bug.

@sulaganathan
Copy link
Author

Hi

You mentioned Moodle version as 1.8 but the Moodle version is 2.8.

@pitbulk
Copy link
Contributor

pitbulk commented Nov 5, 2015

Typo ;)

@pitbulk
Copy link
Contributor

pitbulk commented Nov 5, 2015

@sulaganathan can you access to the SAML settings, review that all info is there, save and try again the SSO and SLO flow?

@sulaganathan
Copy link
Author

Hi @pitbulk

I will check and let you know

@pitbulk
Copy link
Contributor

pitbulk commented Nov 5, 2015

I deployed a fresh moodle 2.8 with the onelogin_saml 2.0.2 (same than the master branch) and had no errors.

I can't reproduce the error that you mention.
My theory: The code of the plugin was updated, but the settings where no refreshed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants