Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate authentication functionalities to API endpoints from User Management Service #11

Closed
wwongandy opened this issue Feb 19, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@wwongandy
Copy link
Member

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

@wwongandy wwongandy added enhancement New feature or request help wanted Extra attention is needed labels Feb 19, 2020
@wwongandy wwongandy added this to the Iteration 4 milestone Feb 19, 2020
@wwongandy wwongandy self-assigned this Feb 19, 2020
@wwongandy
Copy link
Member Author

wwongandy commented Feb 19, 2020

Note that this must be done after SERaaS-User-Management-Service#7

@wwongandy
Copy link
Member Author

Development Note

General

Description

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.

Changed Endpoints

  • /analyse/{emotions} -> /analyse/{userId}/{emotions}
  • /analyse/{emotions}/{period} -> /analyse/{userId}/{emotions}/{period}

@wwongandy
Copy link
Member Author

In order to make API calls from this SERaaS-API-Service to the SERaaS-User-Management-Service, the axios NPM library will be used.

@wwongandy
Copy link
Member Author

Done in integrate-authentication branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant