Reading-notes

Spring Boot and OAuth2

this explains the process :

so the process happens :

the app asks for access by showing the token.

what annotations we will use ?

AuthorizationServerConfigurerAdapter class which implements AuthorizationServerConfigurer interface and use @EnableAuthorizationServer annotation.

@EnableResourceServer annotation and extend ResourceServerConfigurerAdapter class.

@EnableResourceServer