2 ms·
Why not just authenticate the user against that customer_id, and then you can pass the customer_id around as much as you like (or have a surrogate key to it for
by robertlagrant 1y ago
Why not just authenticate the user against that customer_id, and then you can pass the customer_id around as much as you like (or have a surrogate key to it for a little more security)?
A JWT with the customer_id (or surrogate) in would let you do that in serverless function.
- ayushrodrigues 1y agoyep, this is the plan
- robertlagrant 1y agoOh, I must have misread? I thought the thing was a custom encryption/decryption dance instead of a signed JWT.