4 ms·
Why not move the Auth to the code instead? Add one middleware just.
by xmly 8y ago
Why not move the Auth to the code instead? Add one middleware just.
- renke1 8y agoGood point, if you do authentication in your code manually (like verifying a JWT issued by Cognito) you could also directly invoke the Lambda from your client and completely forgo ALB saving even more money (at the cost of slightly increased complexity, that is).