I have created Oauth2 server following to this spring-security-oauth-example. How can I get the Oauth2 token from Postman ?
This is the code for Resource Server and this is the code for AuthorizationServerConfig.
I want to understand how can I get the Oauth2 token for clientid = "ClientId" from Postman ? And what these below code signify:
public class AuthorizationServerConfig extends AuthorizationServerConfigurerAdapter { @Autowired private AuthenticationManager authenticationManager; @Override public void configure(AuthorizationServerSecurityConfigurer security) throws Exception { security.tokenKeyAccess("permitAll()") .checkTokenAccess("isAuthenticated()"); } public class ResourceServerConfig extends WebSecurityConfigurerAdapter { http.requestMatchers() .antMatchers("/login", "/oauth/authorize") //what does this do application.properties has
server.port=8081 server.context-path=/auth security.basic.enable=false 


