Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-67053

Allow bypassing alternateloginurl config setting with a URL param

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.6, 3.7, 3.8
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
      None
    • Affected Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE

      Description

      To authenticate in moodle, it is often useful to redirect and authenticate on a 3rd party page, following the authentication flow from "3rd party auth plugins" https://docs.moodle.org/dev/Authentication_plugins#Overview_of_Moodle_authentication_process

      Some auth plugins do this already. There is an automatic redirect, but you can insert a param in the URL to see the manual login form: https://github.com/catalyst/moodle-auth_saml2/blob/master/auth.php#L352

      At the moment, every auth plugin needs to reimplement this URL param logic for redirection. This is probably basic functionality that should always apply to redirects away from the login/index.php page, and for alternateloginurl as well.

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: