-
Mar 6th, 2012, 11:29 AM
#1
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?
-
Mar 7th, 2012, 02:21 AM
#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).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules