I am working in a solution, where we have a farm server in order to handle the application. Is there a problem if I use JWT ? I mean if my server A is down and the user got the token from server A and send the request to server B using the JWT generated by the server B, the server B will able to authenticate the request using the JWT generated by the server A?
best Regards
Yes, the tokens should be accepted if the audience ("aud") is valid.
B could also check that the token's issuer ("iss") is one of the farm servers, or all the servers could use the same issuer.
More info in the JWT spec.