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

Allow auth plugins to have fallbacks for existing users

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 2.6.2
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
    • Affected Branches:
      MOODLE_26_STABLE

      Description

      I just copy and paste here what Eloy said in the chat...

      I was guessing how interesting would be to allow auth plugins to have support for having other auth plugins as potential fallbacks. So, for example, you can define that your cas auth supports ldap as fallback.

      And, at the same time, every auth plugin could decide if can be used as primary auth or only as fallback... many possibilities, really.

      And then, when authenticate_user_login(), all those fallbacks are followed and tried.

      Much like it happens in that function when the user is new (all enabled plugins are tried), but for already existing users.

      I really think that would open a bunch of current not-working use cases to work easily.

      All that in the context of MDL-44541 where I've been chatting with Jun Leyva about different ways to achieve it. He's creating an issue about that. Feel free to put it here for public disclosure, Juan, TIA!

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: