Closed GoogleCodeExporter closed 9 years ago
Normally when a user tries to access some CAS-protected service (e.g.
http://app1.example.com) the CAS client installed at that service sees that the
user
is not yet authenticated and forwards them over to your CAS server,
automatically
attaching the service URL as a parameter (e.g.
https://cas.example.com/login?service=http%3A%2F%2Fapp1.example.com)
So in other words, normally you don't have to manually set a 'service' parameter
value. However, if your users are going directly to the CAS server page -- not
through a service -- then yeah, you'll have to manually attach a 'service'
parameter
to have them redirected to wherever you want them to go after the login.
Note though that the general practice is to have users automatically sent to the
login page after accessing a service. You don't normally send your users
directly to
the CAS page.
Original comment by matt.zuk...@gmail.com
on 1 Mar 2010 at 7:32
Thanks for reply.
I realized I was doing silly mistakes in my client application for login URL.
It should be like :
link_to("Login", CASClient::Frameworks::Rails::Filter.login_url(controller))
Original comment by shyamkkh...@gmail.com
on 2 Mar 2010 at 4:17
Original issue reported on code.google.com by
khadkash...@gmail.com
on 1 Mar 2010 at 11:00