I have developed Spring-Rest APIs using Spring-Boot-1.3.1. Then I have provided Spring-OAuth2 Security for those APIs. This resides as asingle project in Apache Tomcat. APIS I developed:
GET -> /api/articles
GET -> /api/articles/1
POST -> /api/articles
Spring-Oauth2 provides below by default API:
POST -> /oauth/token
POST -> /oauth/authorize
and some more outh api.
Now I am developing AngularJS UI, which will reside in diferent server- Apache2-Http Server.
I need to know how do I integrate angularJS Login page with Spring-REST secured by Spring-OAuth2?