← Back to team overview

mahara-contributors team mailing list archive

[Bug 885029] Re: Add an option for an external login page

 

** Tags added: login mnet

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/885029

Title:
  Add an option for an external login page

Status in Mahara ePortfolio:
  In Progress

Bug description:
  When there is another application that is linked to mahara via some
  SSO, it is sometimes wanted to not use the mahara login page.

  This feature adds a new config option externallogin which specifies a
  page that will log the user in to the application somehow.

  A common example of this would be when you have a Moodle and a Mahara, and there are no local Mahara users (only mnet ones via the Moodle).
  For this, we could have a config option such as 

  $cfg->externallogin =
  'http://moodle.example.com/auth/mnet/jump.php?hostwwwroot={wwwroot}&wantsurl={shorturlencoded}';

  That would then redirect a user from a page requiring login to the
  moodle login page, then redirect them back! Exciting!

  A note about that example config option, the wwwroot in mahara uses a
  trailing slash, but moodle incorrectly doesn't trim it (even though it
  trims it when adding the peer). See MDL-30042
  (http://tracker.moodle.org/browse/MDL-30042)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/885029/+subscriptions


References