I'm not sure I was clear enough here, but you must go to the CAS login url with the renew=true parameter, this parameter is applied on the CAS server side...
2014-05-19 12:11 GMT+02:00 chris nikitas <[email protected]>: > Using the ?renew=true <http://myservice/?renew=true>.query parameter, it > reloads the same page but does not prompt me to the CAS login page. > > I have a suspicion maybe the service ticket is still on the client or > something... > > On Monday, May 19, 2014 10:03:23 AM UTC+1, Jérôme LELEU wrote: >> >> Hi, >> >> I'm not exactly sure of what flow you have in mind, but you can force a >> re-authentication (even if the user is already authenticated) by using the >> renew parameter on the login url: /cas/login?service=http:// >> myservice?renew=true. >> Best regards, >> Jérôme >> >> >> 2014-05-19 10:58 GMT+02:00 chris nikitas <[email protected]>: >> >>> Hi all, >>> >>> My application, talks to a third-party app which keeps it's own >>> authentication token. >>> >>> What I want to do is the following: >>> >>> If that third-party token expires, I want to force a CAS relogin (give >>> the user the CAS login form to enter their credentials) and upon successful >>> relogin, return to the page the were on. >>> >>> My app is using Spring Security and AngularJS at the front (if that >>> makes a difference). >>> >>> What would be the best way to go about this? >>> >>> Thanks, >>> Chris. >>> >>> -- >>> You are currently subscribed to [email protected] as: [email protected] >>> To unsubscribe, change settings or access archives, see >>> http://www.ja-sig.org/wiki/display/JSG/cas-user >>> >>> >> -- >> You are currently subscribed to [email protected] as: >> [email protected] >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> >> -- > You are currently subscribed to [email protected] as: [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
