Results 1 to 2 of 2

Thread: Spring OAuth2 Setup - OAuth filters not being called

  1. #1
    Join Date
    Mar 2012
    Posts
    7

    Default 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. #2
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    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).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •