API Security Deep Dive: MyInfo's Robust Framework
summary
MyInfo runs fully serverless on AWS with Lambdas in VPCs, API Gateway authorizers, VPC endpoints and resource policies to enforce least privilege; OAuth 2.0 flows use PKCE, partner client assertions (JWTs) and a DPoP-style proof-of-possession to bind tokens to clients. Design choices address cold starts (provisioned concurrency lessons and cost surprises), retries/XβRay, and scaling β proven by a QR check-in deployment hitting 600 TPS, ~300 ms latency and zero downtime.
AI-written summary Β· about
chapters (14)
- 0:00Intro
- 1:01MyInfo Overview
- 3:38Mindful API Journey
- 6:45MyInfo Cloud Strategies
- 11:15MyInfo Infrastructure Risk
- 13:53OAuth 2.0 PKCE Explained
- 15:23OAuth 2.0 Client Assertion
- 16:42OAuth 2.0 Demonstration Proof of Possession
- 18:42Singpass API Introduction
- 21:58Partner Criteria for Client Assertion
- 23:09Application Hosting Requirements in Singapore
- 23:55Lambda Design Insights
- 25:20Troubleshooting Info-enforce URL
- 27:15End
