Hi all,

I've seen that it is possible to inject a custom redirectStrategy in most of spring objects that perform redirections, this is great for us but we've seen the OAuth2ClientContextFilter does not allow injection of a custom redirectStrategy instead it calls response.sendRedirect() directly

Since th filter calls response.sendRedirect() i don't think we can inject a custom redirectStrategy (I think I'll create an issue in jira about this) but I will like to know if is there a way to customize the oauth filters in order to override some behaviors (<http> <custom-filter> </http> is not allowing me to override oauth filters).

I've been thinking about creating a BeanPostProcessor to modify the filter chain and set my customized instance of the filter there but i find this pretty ugly.

Is there another way to customize an oauth 2 filter?

Thanks a lot guys