File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ Here is a more complicated configuration showing most of the configuration optio
122122 :extra_attributes_session_key => :cas_extra_attributes,
123123 :logger => cas_logger,
124124 :enable_single_sign_out => true
125+ :service_url => "https://mysite.service.com"
125126 )
126127
127128Note that normally it is not necessary to specify <tt>:login_url</tt>, <tt>:logout_url</tt>, and <tt>:validate_url</tt>.
@@ -136,6 +137,9 @@ info under <tt>session[:cas_extra_attributes]</tt>).
136137An arbitrary Logger instance can be given as the :logger parameter. In the example above we log all CAS activity to a
137138<tt>log/cas.log</tt> file in your Rails app's directory.
138139
140+ The service url sets the service parameter that will be sent to CAS for every authentication. This can be useful if you are
141+ implementing the single logout feature (supported by some CAS Servers) or would like to funnel all authentications through a specific action.
142+
139143==== Re-authenticating on every request (i.e. the "single sign-out problem")
140144
141145By default, the Rails filter will only authenticate with the CAS server when no session[:cas_user] value exists. Once the user
You can’t perform that action at this time.
0 commit comments