In this section, you will learn about how to implement a single sign-on (SSO) using Spring Security OAuth2-based implementation. The following use case scenario for authentication will be dealt with:
- The client app (Angular app) sends the request on behalf the of end user to the resource server (Spring app) to get an access to the protected resource.
- The user access token validity is checked against the authorization server (Spring app).
- With valid access token, user is given access to the resource if he has sufficient privileges.
- For invalid access token, users are redirected to the login page. Users submit the login credentials.
- User credentials are checked and an access token is sent back with ...