Handling authentication and user controls
After deploying, next we will discuss how to handle the authentication and user controls. The steps are as follows:
- Now that we have successfully created the skeleton of our serverless API, we will now work on the nitty-gritty details which are needed to make it a fully functional API. We will start with applying the mapping templates. This can be done in the
Integration Requestmenu. Clicking on theIntegration Requestlink will take you to a console which looks like this:

- If you scroll down a bit in the same console, you will notice the
Body Mapping Templatessection at the end:

- Clicking on the
Body Mapping Templateswill unfurl the options available in that particular section:

- Select the second option which says
When there are no templates defined (recommended). And then, click on theAdd mapping templateoption and addapplication/json, and click on the small grey tick symbol beside it:

- After clicking the small grey tick symbol beside it, the
Body...