Skip to content

Securing service to service calls in a microservices based architecture

Notifications You must be signed in to change notification settings

pulgupta/SecuringServices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SecuringServices

The intention is to secure all our service calls and let each service control its own authentication and authorization decisions.

What is JWT?

JWT is a self-contained JSON object which is used to securely transmit information between parties. JWT is signed and therefore cannot be forged or tempered. JWT can also store state information in the form of claims. This information can then be retrived by any service after decoding the JWT.

How JWT helps us in securing services?

Each service while calling another service passes the JWT token it has obtained from the upstream call. The called service can decide is the user has valid and has required roles to obtain the information which he is trying to fetch.

External references

About

Securing service to service calls in a microservices based architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages