← Back to team overview

mahara-contributors team mailing list archive

[Bug 885029] A change has been merged

 

Reviewed:  https://reviews.mahara.org/824
Committed: http://gitorious.org/mahara/mahara/commit/3720bfb7ef80b3090bc4799f391c917ff0c6c74c
Submitter: Francois Marier (francois@xxxxxxxxxxxxxxx)
Branch:    master

commit 3720bfb7ef80b3090bc4799f391c917ff0c6c74c
Author: Hugh Davenport <hugh@xxxxxxxxxxxxxxx>
Date:   Wed Nov 2 14:29:04 2011 +1300

    Add option for an external login page (bug #885029)
    
    This patch adds a new feature allowing an administrator to set
    a new config option externallogin, which redirects any page view
    requiring login to this external login page.
    
    The config option allows some placeholders. For examples, see
    lib/config-defaults.php
    
    Change-Id: I4a3277222c35bfed11e4af597fa54ef82ea866ae
    Signed-off-by: Hugh Davenport <hugh@xxxxxxxxxxxxxxx>

-- 
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:
  Fix Committed

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