← Back to team overview

mahara-contributors team mailing list archive

[Bug 1560131] Re: Mahara SAML auth broken with Simplesamlphp 1.14.x

 

Thanks for the patch, kloostec! I've pushed it into our Gerrit code
review system here: https://reviews.mahara.org/6433

Let me know if you'd like me to change the author line. I based it on
your Launchpad account.

Cheers,
Aaron

** Also affects: mahara/16.04
   Importance: High
       Status: Triaged

** Also affects: mahara/16.10
   Importance: Undecided
       Status: New

** Also affects: mahara/15.04
   Importance: Undecided
       Status: New

** Also affects: mahara/15.10
   Importance: Undecided
       Status: New

** Changed in: mahara/15.04
       Status: New => Triaged

** Changed in: mahara/15.10
       Status: New => Triaged

** Changed in: mahara/15.04
   Importance: Undecided => High

** Changed in: mahara/15.10
   Importance: Undecided => High

** Changed in: mahara/15.10
    Milestone: None => 15.10.3

** Changed in: mahara/15.04
    Milestone: None => 15.04.7

** Changed in: mahara/16.04
    Milestone: 16.04.0 => 16.04.1

** Changed in: mahara/16.10
    Milestone: None => 16.10.0

** Changed in: mahara/16.10
   Importance: Undecided => High

** Changed in: mahara/16.10
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1560131

Title:
  Mahara SAML auth broken with Simplesamlphp 1.14.x

Status in Mahara:
  Triaged
Status in Mahara 15.04 series:
  Triaged
Status in Mahara 15.10 series:
  Triaged
Status in Mahara 16.04 series:
  Triaged
Status in Mahara 16.10 series:
  In Progress

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_Session::getInstance() in
  /cluster/www/sites/secure.smus.ca/www/mahara/auth/saml/index.php on
  line 56

  This appears to be because the Simplesamlphp people removed the
  function call SimpleSAML_Session::getInstance() in version 1.14.0:

  https://simplesamlphp.org/docs/stable/simplesamlphp-upgrade-notes-1.14

  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 manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1560131/+subscriptions


References