This got resolved by removing the apache webserver configurations as below. This config was preventing the browser to redirect from cas success page to application home page.
#Header edit Set-Cookie ^(.*)$ $1;SameSite=Lax;SameSite=Strict #Header always edit Set-Cookie (.*) "$1; HTTPOnly; Secure;SameSite=Lax;SameSite=Strict" On Thursday, June 17, 2021 at 8:54:13 PM UTC+5:30 Shiva KV wrote: > Hi, > > I have integrated CAS 5.2.6 with Azure AD using SAML. The authentication > is delegated fine and success response is returned from AD. The CAS page > displays "Login successful". > > However it is not getting auto-redirected to the application home page. > If I hit the application url again in the browser it takes me to the > application. > > Any suggestions what needs to be configured to make it auto-redirect? > > Tried these options already but no luck : > In cas.properties, have set > cas.authn.pac4j.saml[0].autoRedirect=true > or > cas.authn.pac4j.autoRedirect=true > > Thanks > Shiva > -- - 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/4521d4a4-5a43-4dc0-b561-9213490eafa9n%40apereo.org.
