Comment 3 for bug 1771774

Revision history for this message
Steven (stevens-q) wrote : Re: No way to bypass externallogin

Environment tested: Master
Browser tested: Chrome

PRECONDITIONS:
------------------------
1) The following code is enabled in the config.php file
      $cfg->externallogin = 'http://moodle.example.com/auth/mnet/jump.php?hostwwwroot={wwwroot}&wantsurl={shorturlencoded}';
2) Site admin is not logged in

TEST STEPS:
------------------------
1) Site admin browse to http://mahara.stevens-lp.dynamic.wgtn.cat-it.co.nz/admin/users/search.php
2) confirm the page will not load "This site can’t be reached moodle.example.com’s server IP address could not be found."
3) Enter the base URL http://mahara.stevens-lp.dynamic.wgtn.cat-it.co.nz/admin/users/search.php in the address bar and amment it with the following
      a) ?override=true
4) Verify the user is redirected to Mahara login page ✔
5) Verify that the how to is documented in the config-defaults.php file ✘

NOTE: By entering the code above in the config.php file - it will cause the error "Site not found" - this represents what would happen if your authentication server went down. By adding the override parameter to the end of the URL , the site admin can still log in to Mahara

Catalyst QA Failed testing ✘

NOTE
1) Needs further documentation in the config-defaults.php file
2) external override Functionality working as expected