In the preceding sections, you learnt about how to use Spring Security for authentication. In this section, you will learn about the basic fundamentals in relation to OAuth2-based authentication in relation to Spring Security and how to use it with your Angular app. The following topics will be covered:
- Introduction to OAuth2-based authentication and authorization
- Spring Security and OAuth2 authentication/authorization
OAuth2 is an authorization framework, which is used to enable third-party applications to get limited access to HTTP services such as Facebook, LinkedIn, Twitter, and so on. OAuth-based authentication and authorization enables consumer applications and service providers to interact with each other in a secure manner. In order to access user's protected data from one or more service providers, such as Facebook, LinkedIn, and so on, consumer or client applications such as web or mobile apps take the user through following workflow:
- The users...