Hello,

I am using an instance of Dspace 6 and Apache 2.4 with the Shibboleth 3 
module.

I am struggling to get the Shibboleth authentication to work with Dspace 
and not fail the authentication. I have looked through a number of similar 
cases on here but none have lead me to a successful fix:
https://groups.google.com/forum/#!searchin/dspace-tech/shibboleth%7Csort:date/dspace-tech/o9y3WvlBBwc/XJSjbm_uBAAJ
https://groups.google.com/forum/#!searchin/dspace-tech/shibboleth%7Csort:date/dspace-tech/fKPHgxyK9KA/Y_uEIzZBBAAJ
https://groups.google.com/forum/#!searchin/dspace-tech/shibboleth%7Csort:date/dspace-tech/LSKlqCWwbwo/pQCeKcKlAQAJ

I have followed the Dspace documentation on setting up Shibboleth and have 
the correct set up in my shib.conf and have compared this set up to other 
older instances of Dsapce we have Shibboleth working on.

This is the shib.conf file: 
# https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPApacheConfig

# RPM installations on platforms with a conf.d directory will
# result in this file being copied into that directory for you
# and preserved across upgrades.

# For non-RPM installs, you should copy the relevant contents of
# this file to a configuration location you control.

#
# Load the Shibboleth module.
#
LoadModule mod_shib /usr/lib64/shibboleth/mod_shib_24.so

#
# Turn this on to support "require valid-user" rules from other
# mod_authn_* modules, and use "require shib-session" for anonymous
# session-based authorization in mod_shib.
#
ShibCompatValidUser Off

#
# Ensures handler will be accessible.
#
<Location /Shibboleth.sso>
#  AuthType None
#  Require all granted
# Suggested by DSpace docs
  SetHandler shib
  ShibRequestSetting requireSession false
  Require shibboleth
  ShibUseHeaders On
</Location>

#
# Used for example style sheet in error templates.
#
<IfModule mod_alias.c>
  <Location /shibboleth-sp>
#    AuthType None
#    Require all granted
    Allow from all
  </Location>
  Alias /shibboleth-sp/main.css /usr/share/shibboleth/main.css
</IfModule>

<Location />
  AuthType shibboleth
  ShibRequestSetting requireSession true
  Require shib-attr affiliation [email protected] [email protected]
  ShibUseHeaders On
  ShibCompatwith24 On
  ShibRequireAll On
</Location>


#
# Configure the module for content.
#
# You MUST enable AuthType shibboleth for the module to process
# any requests, and there MUST be a require command as well. To
# enable Shibboleth but not specify any session/access requirements
# use "require shibboleth".
#
<Location /secure>
  AuthType shibboleth
  ShibRequestSetting requireSession true
  require shib-session
</Location> 

Does anyone have any insight as to what would be causing this failure?

Thanks in advance

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/6c7507ee-8a9d-4008-bf03-f8697e874240%40googlegroups.com.

Reply via email to