kakawait / cas-security-spring-boot-starter

Spring boot starter for Apereo CAS client fully integrated with Spring security
MIT License
153 stars 45 forks source link

Whether it is suitable for front-end projects #142

Open guozi opened 4 years ago

guozi commented 4 years ago

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

kulemeevag commented 4 years ago

Need sample with Vue application or Angular

kakawait commented 4 years ago

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

kulemeevag commented 3 years ago

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.

kakawait commented 3 years ago

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