~/talk

Securing a REST API with Azure Active Directory

Talkat Future Tech 2019 · on Thursday, 2019-04-11· [security]
links:none on file
slides:none on file

Shows how to secure an Azure Functions HTTP REST API with Azure Active Directory so an Angular front end gets a valid JWT and calls protected endpoints. Uses MSAL in the Angular app, configures a protectedResourceMap and HTTP interceptor, and enables App Service Authentication (EasyAuth) on the Function App which creates the app registration and client secret. Covers CORS and the need to allow credentials, the audience must match the app ID or you get 401, and hosts the frontend via static website hosting on Azure Storage; the final demo works with a real bearer token.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 1:05What is Azure Active Directory
  3. 8:35Azure Functions overview
  4. 15:41Static website hosting in Azure
  5. 17:10Authentication libraries for AAD
  6. 21:49Setting up Azure AD app registration
  7. 29:06Configuring Azure Functions authentication
  8. 35:43Azure Storage static hosting setup
  9. 41:39Angular app integration with MSAL
  10. 46:02Live demo and testing
  11. 49:23Resources and closing
~/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.