Difference between revisions of "Talk:External (Shibboleth) Authentication"

From WeBWorK_wiki
Jump to navigation Jump to search
(Created page with "== Shibboleth apache configuration == <li>shib.conf: Apache Shibboleth configuration. Add the following directive</li> <pre> <LocationMatch ^/[^webwork2_files|^webwork2_cours...")
 
Line 1: Line 1:
 
== Shibboleth apache configuration ==
 
== Shibboleth apache configuration ==
   
<li>shib.conf: Apache Shibboleth configuration. Add the following directive</li>
+
shib.conf: Apache Shibboleth configuration. Add the following directive
 
<pre>
 
<pre>
 
<LocationMatch ^/[^webwork2_files|^webwork2_course_files]>
 
<LocationMatch ^/[^webwork2_files|^webwork2_course_files]>

Revision as of 19:52, 28 March 2014

Shibboleth apache configuration

shib.conf: Apache Shibboleth configuration. Add the following directive

<LocationMatch ^/[^webwork2_files|^webwork2_course_files]>
  AuthType shibboleth
  ShibRequestSetting requireSession 1
  require valid-user
</LocationMatch>

When we put in the above we get a redirect loop after logging into shibboleth. We use this instead that seems to work better:

<Location /webwork2>
  AuthType shibboleth
  ShibRequireSession Off
  ShibUseHeaders On
  require shibboleth
</Location>

There could be an issue with the paths but it is hard to tell. Anyone else run into the redirect loop? Sorry for putting this here I wasn't sure where to put the comment --Daniel Mundra 19:50, 28 March 2014 (EDT)