[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Errors after Shibboleth login
- Subject: [EP-tech] Errors after Shibboleth login
- From: nelli.funk at ulb.tu-darmstadt.de (Funk, Nelli)
- Date: Thu, 24 Mar 2016 07:55:15 +0000
I?m new to eprints developing. My task was to make shibboleth working as login for eprints.
The user who upload a document to eprints is a students and the document is his bachelor or master thesis. So they are unknown user for eprints. I need a login with autocreating user. I mainly tried two websites with different login-skripts
I get a shibboleth session with all the attributes I need, but no user is created in the eprints user table and I get a accout_required - page.
My attributes are:
Maybe some of them are not really needed. But I suppose that in the instruction uid is not set, so the user can?t be stored in the database.
In the second instruction the user is created, but the rewrite goes to https://myurl/cgi/users/home. The error page I get, is in german. I would translate it as a rewriting exception. "The page is rewrited to an endless loop. It may happen, if cookies are not set."
For this instruction there could be an error in my apache configuration, because other eprint archives we have without shibboleth, go to this URL after login and get a page with content. So here is my apache configuration for the v_host in ssl:
# SSL DEFINITIONS (deleted, because not important)
Alias /shibboleth /usr/share/eprints/archives/myarchive/shibboleth
Options ExecCGI FollowSymLinks
# RequireSession Version von DFN...
# ShibRequestSetting requireSession 1
# require shib-session
ShibRequestSetting requireSession 1
PerlSetVar EPrints_ArchiveID testshib
# Order allow,deny
# Allow from all
# Require all granted
# Note that PerlTransHandler can't go inside
# a "Location" block as it occurs before the
# Location is known.
CustomLog /var/log/apache2/my_access_ssl.log combined
I don?t know how to solve my problem and which one is easier. If I missed anything or the explanation is not clear, just ask.
It would be fine, if someone could help me.
Universit?ts- und Landesbibliothek
Tel.: 06151 16-76227
-------------- next part --------------
An HTML attachment was scrubbed...