CAS 5.2.6 integration with Azure AD using SAML

64 views
Skip to first unread message

Shiva KV

unread,
Jun 17, 2021, 11:24:13 AM6/17/21
to CAS Community
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

Shiva KV

unread,
Jun 23, 2021, 12:35:19 AM6/23/21
to CAS Community, Shiva KV
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" 

Reply all
Reply to author
Forward
0 new messages