I have a REST API secured with OAuth2.0 I am able to get the access-token using http://localhost:email@example.com&password=mypass(along with username pass basic auth).
But when I am trying to access http://localhost:8085/signup , API returns a 401 unauthorized error.
Though I have used antMatchers("/signup").permitAll(), why API is expecting a access-token to access this resource? Passing access-token along with this request would signup a user.
This is my resource server configuration
My first bit of advice is that if you are going to be a mime, you shouldn't talk. Even the tiny ad is nodding:
Create Edit Print & Convert PDF Using Free API with Java