3

Hi I am really new to Spring boot and Oauth2. I need to understand how to authenticate Spring boot web service with Oauth2 authentication with refresh token and access tokens. Likewise I need to know how to limit the access of different users (accessing resources) dynamically as well. I have searched in many articles on line and ended up with nothing that I really need to learn. I do not need SSO config with facebook or google. I want to know how to make our own authorization server.

Can anybody please help me to guide or send me a link of a useful tutorial that helps me to learn.

thank you.

Kepler
  • 399
  • 1
  • 7
  • 19

1 Answers1

0

This is a very open-ended question. So few links to start with:

Ok, start with OAuth2 Guide then OAuth2 Grant types. These are generic stuff you need to know.

Then In Spring Security OAuth 2 using Spring Boot .

You can basically restrict the API access in Resource Server by using a combination of OAuth scopes and Roles.

And finally, this is an amazing example which shows you how to manage OAuth clients, their grant types, tokens and so on.

Please get back with specific queries, it would be easier to help.

MohamedSanaulla
  • 6,112
  • 5
  • 28
  • 45