You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One handles auth logic and generates the jwt using postgres
The other handles app data logic and is protected using the same token secret (currently uses mongo)
Somehow I end up getting error 401 unauthorized when passing the tokens from one service to another, why is this happening?
I'm just wondering why it behaves like this. Although the easiest way is to implement an api gateway to solve this, I'd like to know if theres something wrong with my approach.
The text was updated successfully, but these errors were encountered:
Currently I have 2 services:
Somehow I end up getting error 401 unauthorized when passing the tokens from one service to another, why is this happening?
I'm just wondering why it behaves like this. Although the easiest way is to implement an api gateway to solve this, I'd like to know if theres something wrong with my approach.
The text was updated successfully, but these errors were encountered: