2

I have 2 different applications. Let's say A & B. A is being used for login/signup and users related activities. And It is also used for Generating JWT Token and validation as well.

Now, the other application B is used for some very specific operations. I want to use the same JWT token I generate from application A to validate users and extract useful information from the token.

Can someone please suggest to me what design should I follow? Should I use 2 different JWT validators?

Saurav
  • 55
  • 4

1 Answers1

1

Actually is nothing wrong to use service A as an Authorization Service that issues JWT tokens and the B service as a resource service

here is a posts described how to do it in ASP.NET Web API

Token based authentication

Sergey K
  • 4,071
  • 2
  • 23
  • 34