Hi Ray, looks to be a self inflicted issue. We have a custom login webflow and have injected as view between generateServiceTicket and Redirect action/view states. When I disable this custom step all works fine. I haven't been able to trace my issue but it is my issue.
-psv On Thursday, August 3, 2023 at 9:24:17 AM UTC-5 Ray Bon wrote: > Pablo, > > What version of Cas is this? > > Check your logs. The audit log records the authentication events, > including ticket creation. > > Ray > > On Wed, 2023-08-02 at 14:39 -0700, Pablo Vidaurri wrote: > > Notice: This message was sent from outside the University of Victoria > email system. Please be cautious with links and sensitive information. > > > I am seeing a problem where after a successful login a redirect is happing > back to the service URL but does not have a ticket=ST-xxxx query parameter. > This of course means that the service has no ticket to go validate. But if > I hit the login page again, i get the ticket on the 2nd try. > > 1) https://www.xxx.com/cas/login?service=https://myapp.xxx.com/cas/login > 2) after login redirects to https://myapp.newco.com/cas/login, with no > ticket > 3) since no ticket, login to the app fails. > 4) I go to > https://www.xxx.com/cas/login?service=https://myapp.xxx.com/cas/login > again > 5) immediately redirects back to > https://myapp.xxx.com/cas/login?ticket=ST-xxxx > 6) now logged into the app > > Why would ticket not be sent the first time? > > -psv > > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/08df51ec-259c-4619-ba3b-b0e5f4718f86n%40apereo.org.
