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” into the ...

Get Design and Build Great Web APIs now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.