~/talk

Running system tests with active authn/z

Talkat NDC Security 2023 · 2023-01-16..01-19· [security, testing]
links:none on file
slides:none on file

Shows a concrete pipeline: spin up the app and APIs in Docker compose, point them at a separate Office 365 developer tenant, switch login to resource owner password credentials for test users without MFA, drive real browser flows with Cypress in Docker compose, and verify tokens at each API. Test-support code is tiny (about 15 lines), tests run headless in CI and return proper exit codes. Trade-offs include leaked access tokens in logs and maintenance of the test tenant so threat modeling is required.

AI-written summary · about

  1. 0:00System testing with active auth
  2. 5:20Current testing practices
  3. 7:26System architecture overview
  4. 11:04Testing with active auth challenges
  5. 12:31Security testing principles
  6. 17:48Testing trade-offs
  7. 20:35Test environment with Docker
  8. 26:30Cypress tests in test mode
  9. 31:03Automating tests in CI/CD
  10. 34:15Solution summary and next steps
  11. 35:18Q&A Azure AD and MFA
  12. 37:24Q&A distributed system testing
  13. 39:15Q&A 2FA alternatives
  14. 40:41Q&A mock users and app regs
  15. 43:51Q&A token verification in APIs
  16. 45:22Q&A Blazor WASM unit testing
  17. 48:12Closing remarks
~/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.