Announcement Announcement Module
Collapse
No announcement yet.
Spring OAuth2 Setup - OAuth filters not being called Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring OAuth2 Setup - OAuth filters not being called

    I setup an Oauth2 server that grants a user permissions and an access token. The problem is that for requests that use an access_token, the filter chain for OAuth2 is never executed. My pom is setup
    http://pastie.org/3535004

    Any help?

  • #2
    Isn't this the same question you are asking in another thread? Thanks for posting the config file, though, that is useful.

    How do you know the resourceServerFilter is not executed? Can you show some debug logs from a request to your /user/** endpoints?

    N.B. I wouldn't expose the access token in a URL pattern /user/{access_token} if I were you - it's a potential leak of very sensitive information (anyone reading your server log files will be able to impersonate all your users).

    Comment

    Working...
    X