cas-security-spring-boot-starter icon indicating copy to clipboard operation
cas-security-spring-boot-starter copied to clipboard

Whether it is suitable for front-end projects

Open guozi opened this issue 5 years ago • 4 comments

Whether it is suitable for front-end projects.Thanks.

guozi avatar Apr 26 '20 03:04 guozi

Need sample with Vue application or Angular

kulemeevag avatar Jul 18 '20 03:07 kulemeevag

Since login page is hosted on CAS server, there is no specificity for frontend. Every time anonymous user is visiting private page it will be redirected by the backend code to the CAS Server.

Frontend code is not really involve in flow

kakawait avatar Sep 04 '20 16:09 kakawait

Since login page is hosted on CAS server, there is no specificity for frontend. Every time anonymous user is visiting private page it will be redirected by the backend code to the CAS Server.

Frontend code is not really involve in flow

How i can add some information in redirect response. In jasig.client i can override DefaultAuthenticationRedirectStrategy . I need set to headers same information for frontend app.

kulemeevag avatar Nov 25 '20 03:11 kulemeevag

@kulemeevag did you try creating your own bean of CasAuthenticationEntryPoint? You may override com.kakawait.spring.security.cas.web.RequestAwareCasAuthenticationEntryPoint

kakawait avatar Nov 26 '20 17:11 kakawait