Spring Security for REST and Angular 2.0

Work with the application to enter. Separated the front using Angular2 and accessed the backend using REST implemented with Spring. Originally implemented login application with spring security, but without angular 2 just with simple jsp.

Now I want to achieve the same result with REST. Some changes need to be made.

  • Angular 2 front end
  • Spring REST API for login, registration, logout, ...
  • Spring security with OAuth.

Later I wanted to expand it with OpenId (Google and Facebook)

+6
source share
1 answer

See this repo for an example of the Restore API, login, Spring, Spring Security, JWT, and Angular 2.

However, there is no OAuth example.

https://github.com/RedFroggy/angular-spring-hmac/tree/master

0
source

Source: https://habr.com/ru/post/1247095/


All Articles