Delegating JWT Validation for Greater Flexibility

  • Postat în IT
  • la 31-05-2022 15:40
  • de Horatiu Dan
  • 346 vizualizări

by Horatiu Dan

Context

In my opinion, the purpose of all software applications that have been created so far, are being and will be developed should primarily be to make humans’ day to day activities easier to fulfill. Humans are the most valuable creations and software applications are great tools that at least could be used by them.

Nowadays, almost every software product exchanges data with at least one other peer software product, which results in huge amounts of data flowing among them. Usually, a request from one product to another needs to pass a set of preconditions before it is considered acceptable and trustworthy.

The purpose of this article is to showcase a simple and flexible, yet efficient and decoupled solution for validating such prerequisites.

Setting the Stage

Let’s consider the next simple and general use case:

Service Provider and Client are two applications exchanging data. The Client calls the ...