Announcement Announcement Module
Collapse
No announcement yet.
Location of OAuth2ClientContextFilter in Filter Chain Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Location of OAuth2ClientContextFilter in Filter Chain

    Is there any reason why the OAuth2ClientContextFilter is placed after the ExceptionTranslationFilter. Could it be moved up the filter chain without any issues?

  • #2
    If OAuth2AccessTokenRequiredException gets thrown, the context filter needs to intercept it before it gets to the ExceptionTranslationFilter so it can redirect the user appropriately. So I think it does need to go after.

    Comment


    • #3
      Thanks stoic, I thought that might be the case

      Comment

      Working...
      X