← Back to team overview

mahara-contributors team mailing list archive

[Bug 547589] Re: Store jumpurl in application table

 

** Description changed:

  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']));
-         }
- 
- 
- This bug was imported from eduforge.org, see:
- https://eduforge.org/tracker/index.php?func=detail&aid=2657&group_id=176&atid=739
+         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 removed: mahara-eduforge-bug
** Tags added: mnet

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

Title:
  Store jumpurl in application table

Status in Mahara ePortfolio:
  Confirmed

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']));
          }

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