~/talk

Approaching OAuth2

Talkat Voxxed Days Cluj-Napoca 2022 · 2022-10-05..10-07· [nodejs, security]
links:none on file
slides:none on file

POC e‑commerce with a Koa.js client and services, an Express API gateway with http-proxy-middleware that enforces auth checks, and Nginx as reverse proxy runs in Docker Compose. Authentication and authorization use Auth0 OAuth2/OIDC with ID and access tokens and scopes; ID token blocks unauthenticated requests, scope check blocks unauthorized ones (access-token check is partially bypassed in the demo). Product service saves to MongoDB, publishes on NATS event bus, and the order service consumes the event to create orders—demo works end‑to‑end with a few noted bugs.

AI-written summary · about

  1. 0:00Start
  2. 2:49Authentication versus Authorization
  3. 3:02Authentication of versus Authorization
  4. 5:12Authorization
  5. 5:32Scopes
  6. 8:15Authentication
  7. 8:34Api Gateway and Reverse Proxy
  8. 9:36Api Gateway
  9. 9:59The Reverse Proxy
  10. 11:46Solution Design
  11. 13:43Oauth and Oidc
  12. 18:27Reverse Proxy
  13. 19:47Docker Compose Configuration
  14. 21:28Compose Build
  15. 23:53Front End
  16. 29:42Redirect the Identity Provider Page
  17. 38:06The Api Gateway
  18. 41:26Authentication and Authorization Checks
  19. 47:17Break the Id Token Authentication
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.