Store jumpurl in application table

Bug #547589 reported by Nigel-catalyst
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Won't Fix
Low
Unassigned

Bug Description

We need to know the remote application's jumpurl so we can send the user there to log in again if necessary.

See auth/xmlrpc/lib.php:

        elseif (!$this->parent) {
            $this->kill_parent($remoteusername);
            // Redirect back to their IDP if they don't have a parent auth method set
            // (aka: they can't log in at Mahara's log in form)
            $peer = get_peer($this->wwwroot);
            // TODO: This should be stored in the application config table
            $jumpurl = str_replace('land', 'jump', $peer->application->ssolandurl);
            redirect($this->wwwroot . $jumpurl . '?hostwwwroot=' . dropslash(get_config('wwwroot')) . '&wantsurl=' . urlencode($_SERVER['REQUEST_URI']));
        }

Tags: mnet
Revision history for this message
François Marier (fmarier) wrote :

Hi Dan,

Do you know if this needs to be fixed and/or the priority of this bug be changed?

Changed in mahara:
assignee: nobody → Dan Marsden (danmarsden)
Revision history for this message
Dan Marsden (danmarsden) wrote :

definitely - we did this for Intel - I'll dig out the code and push it through.

Changed in mahara:
milestone: none → 1.3.0
importance: Low → Medium
Changed in mahara:
milestone: 1.3.0 → none
Changed in mahara:
milestone: none → 1.4.0
Changed in mahara:
importance: Medium → Low
Changed in mahara:
assignee: Dan Marsden (danmarsden) → nobody
Changed in mahara:
milestone: 1.4.0 → none
description: updated
tags: added: mnet
removed: mahara-eduforge-bug
Revision history for this message
Robert Lyon (robertl-9) wrote :

Well it's been 5 years since this bug and that bit of code in original post is still in place.

The storing of jumpurl may still need to go in the database's application config table - but I can't happening any time soon :)

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

With MNet going away sometime soon, this will be a non-issue.

Changed in mahara:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.