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

Shibboleth front channel logout fails if user is already logged out

XMLWordPrintable

    • MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • MDL-58244-master
    • Hide
      1. Setup Shibboleth authentication.
        • Set the Shibboleth Service Provider logout handler URL in Moodle.
        • Configure the front channel logout in the service provider (see auth/shibboleth/README.txt) with

          <Notify Channel="front" Location="[host]/auth/shibboleth/logout.php" />
          

      2. Login using Shibboleth.
      3. Logout in Moodle.
      4. The Shibboleth SP will redirect you to /auth/shibboleth/logout.php, which in turn redirects the user back to Moodle.
      Show
      Setup Shibboleth authentication. Set the Shibboleth Service Provider logout handler URL in Moodle. Configure the front channel logout in the service provider (see auth/shibboleth/README.txt) with < Notify Channel = "front" Location = "[host]/auth/shibboleth/logout.php" /> Login using Shibboleth. Logout in Moodle. The Shibboleth SP will redirect you to /auth/shibboleth/logout.php, which in turn redirects the user back to Moodle.

      auth/shibboleth/logout.php tries to access $USER->auth that is undefined if the user is already logged out.

      We configured the front channel logout in our Shibboleth SP. When the user initiates the Shibboleth logout procedure through Moodle (login/logout.php), he will be stuck on auth/shibboleth/logout.php since he is already logged out in Moodle at that moment and he will not be redirected to the return URL as demanded by Shibboleth.

            mgauk Martin Gauk
            mgauk Martin Gauk
            Simey Lameze Simey Lameze
            David Monllaó David Monllaó
            cameron1729 cameron1729
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.