In my last video, I covered how to generate your own API tokens for authentication. In this vieo, I show you how to use those tokens to actually authenticate into your server.
Igbo API GitHub: https://github.com/ijemmao/igbo_api
Timestamps:
- 0:00 Intro
- 0:27 How Does API Token Validation Work?
- 0:59 Validate API Key Middleware
- 2:15 Bypassing all API Validation with a MAIN_KEY
- 4:00 What’s the Purpose of Matching Origins with API Keys?
- 6:49 Track Usage of Developer Token
- 8:28 Catching Errors and Handling Non-Existing Developer Objects
- 9:08 Demo: Using API Tokens in the Igbo API Docs Site
- 11:34 Contribute to the project!
#node #express #api #javascript #web-development