Timeline for Checking tenant information in microservices
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 16, 2020 at 18:09 | comment | added | Steven Brookes | I pass the JWT that the gateway received, so they all authenticate requests the same as the gateway. That is why my HttpContextTenantProvider is looking at the User object in HttpContext, as it is hooked into the JWT middleware | |
| Oct 16, 2020 at 17:47 | comment | added | Guilherme Ferreira | Thanks for the answer. One thing I haven't been able to understand yet is: when the API Gateway is going to make an HTTP GET to a service A, do you pass tenant_id as a parameter? That is, do all your services expect to receive a tenant_id parameter? Or all yours services get tenant_id from the user Claim? | |
| Oct 16, 2020 at 14:00 | vote | accept | Steven Brookes | ||
| Oct 16, 2020 at 14:00 | history | answered | Steven Brookes | CC BY-SA 4.0 |