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

Expose external authentication methods (loginpage_idp_list) in login block

    XMLWordPrintable

    Details

    • Database:
      Any
    • Testing Instructions:
      Hide
      1. Install and enable the OpenID Connect plugin from https://moodle.org/plugins/auth_oidc
      2. Make sure to choose "Authorization Request" as Login Flow in its settings
      3. Add the Login block to your home page
      4. Observe how the login block only displays the login form, whereas the login page (/login/) also has a link to log in via OpenID Connect
      5. With the patch applied, login block presents the link as well.
      Show
      Install and enable the OpenID Connect plugin from https://moodle.org/plugins/auth_oidc Make sure to choose "Authorization Request" as Login Flow in its settings Add the Login block to your home page Observe how the login block only displays the login form, whereas the login page (/login/) also has a link to log in via OpenID Connect With the patch applied, login block presents the link as well.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      master

      Description

      Unlike the login page, login block currently does not list any configured external auth methods. This makes it practically useless in cases where external auth (e.g. OpenID) is the main login method.

      This patch adds the necessary bits to make the login block great again.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/16