how to add any value inside the jwt and then retrieve it inside the JWT token?
Example:
Company has a people
People has a user
when i log in i want to add the company id and the person in the JWT token and then retrieve it in any request
PS:
Company has products
When I want to retrieve company products, I simply pass the company ID where () or find ()
so I have greater security in multi-tenant applications.
because I have total domain of the tenant’s IDs