Mahara SAML auth broken with Simplesamlphp 1.14.x
Bug #1560131 reported by
kloostec
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned | ||
15.04 |
Won't Fix
|
High
|
Unassigned | ||
15.10 |
Won't Fix
|
High
|
Unassigned | ||
16.04 |
Won't Fix
|
High
|
Unassigned | ||
16.10 |
Fix Released
|
High
|
Unassigned |
Bug Description
When attempting to use Mahara 15.10.1 on Ubuntu 14.04.4 with Simplesamlphp 1.14.x, I attempt to SSO login and get the error:
PHP Fatal error: Call to undefined method SimpleSAML_
This appears to be because the Simplesamlphp people removed the function call SimpleSAML_
https:/
I looked at auth/saml/index.php and it doesn't look like there are too many times that $saml_session is used. I'll see if I can figure out what to use in place of the $saml_session stuff.
To post a comment you must log in.
This diff fixed logins and logouts on our server with SimpleSAMLPHP 1.14.2.
It appears that they've taken away the ability to query the SimpleSAML_Session object for many parameters. For example, instead of:
$saml_session- >getIdP( );
they want you to do:
$as->getAuthDat a('saml: sp:IdP' );
I couldn't figure out a good way to replace ->getAuthority() so I moved the code to figure out which SP to use above the logout functionality and use that instead. This is probably just because I don't work with the SimpleSAMLPHP code enough to understand where that functionality went.
Chris