~/talk

Creating an Authentication System for Microservices with Identity Server 4

TalkinItalianat Global Azure Virtual 2020 · 2020-04-23..04-25· [security]
links:none on file
slides:none on file

Shows how to build an authentication system for microservices using IdentityServer4 and Azure API Management, providing runnable templates (empty project, UI, user admin) and sample clients that obtain tokens from the discovery endpoint. Implements OAuth2 flows (authorization code, client_credentials, resource owner password), issues tokens for test users (Alice/Bob), calls protected bookstore endpoints, and demonstrates API Management policies that enforce scopes/audience (returning 401 on mismatch); also notes HTTPS requirement and estimated API Management cost (~€400/month), with code and slides available for download.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:22What we will cover today
  3. 3:09Microservices evolution and advantages
  4. 7:08Why authentication is needed
  5. 8:12IdentityServer4 roles explained
  6. 10:24Login flows and grant types
  7. 15:01Implementing IdentityServer4
  8. 20:44Creating the project with templates
  9. 23:21Configuring the IdentityServer4 project
  10. 26:26Adding users and clients
  11. 28:21Securing API endpoints
  12. 30:30Testing authentication with a client
  13. 33:16Adding test users
  14. 36:09CORS and domain restrictions
  15. 38:19Live demo login flow
  16. 40:19Microservices architecture overview
  17. 41:44API Gateway and management
  18. 43:06API management policies
  19. 44:33Testing API management
  20. 46:28Client credentials flow
  21. 49:23Q&A and closing 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.