Thank you for your great question.
Client vs. Server Dependencies
Since you are using OAuth2 client features in your Spring Boot project, you only need the OAuth2 client dependency. The OAuth2 resource server or OAuth2 authorization server dependencies are not required unless you are building your own authorization server or protecting resources as a resource server.
...
You can review the model's detail response by following this link: Model Answer.