Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed REST API Authentication with Express!
You have completed REST API Authentication with Express!
Instruction
Introducing Basic Authentication
A common approach to identifying users is a process called "key-based authentication". Key-based authentication requires two pieces of information: a unique key or identifier (typically the user's username or email address) and a secret, typically the user's password.
When a client application, such as a web browser or mobile application, requests a "protected" or "private" route (a route tha...