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...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
== Shibboleth apache configuration ==
 
== Shibboleth apache configuration ==
   
<li>shib.conf: Apache Shibboleth configuration. Add the following directive</li>
 
  +
<blockquote>
  +
shib.conf: Apache Shibboleth configuration. Add the following directive
 
<pre>
 
<pre>
 
<LocationMatch ^/[^webwork2_files|^webwork2_course_files]>
 
<LocationMatch ^/[^webwork2_files|^webwork2_course_files]>
Line 9: Line 10:
 
</LocationMatch>
 
</LocationMatch>
 
</pre>
 
</pre>
  +
</blockquote>
   
 
When we put in the above we get a redirect loop after logging into shibboleth. We use this instead that seems to work better:
 
When we put in the above we get a redirect loop after logging into shibboleth. We use this instead that seems to work better:

Latest revision as of 18: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)