-
Notifications
You must be signed in to change notification settings - Fork 138
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
IdP Initiated login failing since update to SimpleSAMLPHP 2.0.5 #801
Comments
jwalits
added a commit
that referenced
this issue
Feb 29, 2024
jwalits
added a commit
that referenced
this issue
Feb 29, 2024
jwalits
added a commit
that referenced
this issue
Feb 29, 2024
Peterburnett
pushed a commit
that referenced
this issue
Feb 29, 2024
jay-oswald
pushed a commit
that referenced
this issue
Nov 20, 2024
jay-oswald
pushed a commit
that referenced
this issue
Nov 28, 2024
gbarat87
pushed a commit
that referenced
this issue
Dec 11, 2024
gbarat87
pushed a commit
that referenced
this issue
Dec 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When multiple IdP's are setup in Moodle/Totara and an IdP initiated request comes in from the second configured IdP it fails producing an error like below:
SAML2 exception: Cannot retrieve metadata for IdP '<IdP URL>' because it isn't a valid IdP for this SP.
After doing some debugging/testing, it was traced down to this line of custom code in the simplesamlphp lib: https://github.com/catalyst/moodle-auth_saml2/blob/MOODLE_39_STABLE/.extlib/simplesamlphp/modules/saml/src/Auth/Source/SP.php#L312
The data this for loops expects is in a different format now, thus never setting
$this->idp
to null and throwing the error below.The text was updated successfully, but these errors were encountered: