LP1850992: More documentation for the EZProxy remoteauth feature
authorJane Sandberg <sandbej@linnbenton.edu>
Wed, 19 Aug 2020 21:31:32 +0000 (14:31 -0700)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 25 Aug 2020 20:45:34 +0000 (16:45 -0400)
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>

Open-ILS/examples/apache_24/eg_vhost.conf.in
docs/RELEASE_NOTES_NEXT/Administration/ezproxy.adoc [new file with mode: 0644]

index b7183fe..01a0529 100644 (file)
@@ -883,10 +883,12 @@ RewriteRule ^/openurl$ ${openurl:%1} [NE,PT]
     # Locale (defaults to en_us)
     #PerlAddVar OILSRemoteAuthLocale "en_us"
 
-    # Base URI of your EZProxy server
-    PerlSetVar OILSRemoteAuthEZProxyBaseURI "http://example.com/ezproxy/"
+    # Base URI of your EZProxy server; be sure there is no trailing slash
+    PerlSetVar OILSRemoteAuthEZProxyBaseURI "http://example.com/ezproxy"
 
     # shared secret used to generate EZProxy authentication ticket
+    # This should be the same as the value in the MD5 line of your EZProxy users.txt configuration
+    # This default value is not suitable for production!
     PerlSetVar OILSRemoteAuthEZProxySecret "secret"
 </Location>
 
diff --git a/docs/RELEASE_NOTES_NEXT/Administration/ezproxy.adoc b/docs/RELEASE_NOTES_NEXT/Administration/ezproxy.adoc
new file mode 100644 (file)
index 0000000..09253c7
--- /dev/null
@@ -0,0 +1,30 @@
+EZProxy authentication
+^^^^^^^^^^^^^^^^^^^^^^
+
+Evergreen can now provide CGI authentication for EZProxy.
+To enable this, you will need to:
+
+. Add a new User Activity Type to Evergreen for EZProxy CGI authentications.
+. Add a new Remote Authentication Profile to Evergreen. You will probably want
+to use `EZProxyCGI` as the name.
+. Edit the `<Location /api/ezproxy>` stanza in Evergreen's eg_vhost configuration
+file. In particular, you will need to allow access to from your EZProxy server,
+fill in the base uri of your EZProxy server, and add a secret to the
+_OILSRemoteAuthEZProxySecret_ variable.
+. Restart Apache.
+. Edit the EZProxy user.txt file.  You will likely want to add a stanza such
+as the following:
+
+.Sample user.txt stanza
+----
+::CGI=http://your-evergreen-catalog.com/api/ezproxy?url=^R
+::Ticket
+MD5 <same secret as in eg_vhost config>
+Expired; Deny expiredticket.htm
+/Ticket
+----
+
+When this feature is enabled, users will see an Evergreen-based login screen.
+You may customize the look and feel of this login screen by editing the relevant
+template toolkit files.
+