spring-attic / spring-social

Allows you to connect your applications with SaaS providers such as Facebook and Twitter.
http://projects.spring.io/spring-social
Apache License 2.0
619 stars 351 forks source link

Make filterProcessesUrl of SocialAuthenticationFilter configurable via SpringSocialConfigurer #226

Open mirkoliver opened 7 years ago

mirkoliver commented 7 years ago

Summary

Make filterProcessesUrl of SocialAuthenticationFilter configurable via SpringSocialConfigurer

Actual Behavior

The SocialAuthenticationFilter processes the url /auth. Although there is a method SocialAuthenticationFilter.setFilterProcessesUrl(String filterProcessesUrl) to change this default behaviour, in SpringSocialConfigurer this can not be configured. The only chance I've found is to write a custom Configurer - see this post: http://stackoverflow.com/questions/42135713/how-to-change-socialauthenticationfilter-filterprocessesurl-when-using-springsoc/42422376#42422376.

Expected Behavior

It would be much easier, if filterProcessesUrl could be set by SpringSocialConfigurer.

Version

I use Spring Social version 1.1.4.

Sample

http://stackoverflow.com/questions/42135713/how-to-change-socialauthenticationfilter-filterprocessesurl-when-using-springsoc/42422376#42422376