Closed wwongandy closed 4 years ago
Note that this must be done after SERaaS-User-Management-Service#7
This involves adding an extra layer of security to the API endpoints for this SERaaS API Service. All API endpoints usage must first be followed by a corresponding user ID registered in the SERaaS-User-Management-Service.
/analyse/{emotions}
-> /analyse/{userId}/{emotions}
/analyse/{emotions}/{period}
-> /analyse/{userId}/{emotions}/{period}
In order to make API calls from this SERaaS-API-Service to the SERaaS-User-Management-Service, the axios NPM library will be used.
Done in integrate-authentication branch.
I would like to: Integrate authentication functionalities to API endpoints from User Management Service
So that I can: Ensure that the client using the API endpoint is a user of the User Management Service