Solution for Chapter 10: Securing APIs
The exercise for this chapter (Chapter 10, âSecuring APIsâ) focuses on using Auth0 to define your API security, collect the access control parameters, modify your API source code, and then test the results.
Define Your API in Auth0
The exercise instructions included the name of the new API security definition (bigco-credit-check). To create this definition, you need to log in to the http://auth0/com website and navigate to the dashboard page. There you can select the APIs option in the left navigation pane and, when the list of APIs appears, click the Create API button that appears in the upper-right corner of the screen. This brings up the New API dialog, where you can enter âbigco-credit-checkâ ...
Get Design and Build Great Web APIs now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.