Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3108

Support Shibboleth Authentication in the REST API

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.1
    • Component/s: REST API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      12
    • Documentation Status:
      Needed

      Description

      I refreshed my instance with the latest code from the master branch.

      Via XMLUI, I am able to successfully login with Shibboleth.

      Via REST, I opened /rest/login-shibboleth. I was re-directed to my Shibboleth authentication page.

      After providing my credentials, I received a failed login. Note the following message in my dspace log.

      2016-03-23 17:31:04,730 ERROR org.dspace.authenticate.ShibAuthentication @ Shibboleth authentication was not able to find a NetId, Email, or Tomcat Remote user for which to indentify a user fro
      m.
      2016-03-23 17:31:04,730 ERROR org.dspace.authenticate.ShibAuthentication @ Unable to register new eperson because we are unable to find an email address along with first and last name for the u
      ser.
      NetId Header: 'uid'='null' (Optional)
      Email Header: 'mail'='null'
      First Name Header: 'givenName'='null'
      Last Name Header: 'sn'='null'
      2016-03-23 17:31:04,730 INFO org.dspace.rest.authentication.DSpaceAuthenticationProvider @ anonymous::failed_login:email=, result=4
      2

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              terrywbrady Terrence W Brady
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: