Hi Ethan,
Let me put up a very simple use case first.
I am working on a simple application for hotel booking which contains at least two
different applications:
1. Merchant application to manage hotel rooms and offers.
2. Client facing application to book hotel room.
Now, a given user can be a client or merchant for different hotels. Also, there is a
duplication in the authentication and authorisation logic on both the applications
because they share the same data.
According to me the current micro service would be consulted once i.e.
when a user wants to login, after that the issued token would be enough
for the communication with the client from the user application. I thought of verifying the JWT token on every request with auth service but I think that
is not necessary.
These are the basic assumptions that I made while thinking about the solution, I am fairly new to this kind of thinking.
I would really love to hear from you on how you would solve the given
use case.
PS: I saw you talk and its really very informative, I just need to watch it again :)
Thanks,
Vivek