Chapter 4: Security
Activity 4: Protecting an Ordering System
Open the API management service and import the orders function app, as we did in Exercise 12, Protecting a Function with Azure API Management.
Copy and paste the API Management Service endpoint address into the orders page fetch call:
Modify the order.html page to retrieve the user and retrieve the email address and delivery address (refer to Exercise 13, Implementing User Sign-up and Sign-in Using Azure Active Directory B2C). Your file will look as follows: