google-code-export / rubycas-client

Automatically exported from code.google.com/p/rubycas-client
1 stars 1 forks source link

CAS always redirects to Service URL configured in environment.rb #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configured CAS to my application
2.
3.

What is the expected output? What do you see instead?
It is always redirecting me to service url(home page) rather than 
requested URL I typed in.

What version of the product are you using? On what operating system?
Ruby 186, Rails 2.0.2 CAS 1.1.0

Please provide any additional information below.
configuration in config/environment.rb
CAS::Filter.cas_base_url = "https://cas.qaapollogrp.edu/cas"
CAS::Filter.service_url = "http://gxwsdev1.apollogrp.edu:3000/"

Original issue reported on code.google.com by sgod...@gmail.com on 22 Feb 2008 at 8:52

GoogleCodeExporter commented 9 years ago
Try not specifying a service_url in the client configuration (i.e. comment out 
the
line 'CAS::Filter.service_url = "http://gxwsdev1.apollogrp.edu:3000/"'). If you
specify the service_url, the CAS client will always use that. If you omit it, 
it will
try to guess the service based on the requested URL.

Original comment by matt.zuk...@gmail.com on 27 Feb 2008 at 8:05