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 React Authentication (2019)!
You have completed React Authentication (2019)!
Instruction
Set up Basic Authentication
Overview
Now that we're successfully registering a user, let's keep it going by authenticating a user. In this step, we will implement an Authorization
request header and the Basic authentication scheme to authenticate a registered user. That way the user can use their credentials to sign into the app.
Require Authentication and Credentials
-
Open the file
Data.js
. The `...