Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.


Implement Sign In

In this step, we'll write the signIn() function that retrieves a registered user's credentials from the server, then write a function to log in an authenticated user upon submitting the "Sign In" form.

Create the Sign in Function

  1. Open the file Context.js. Scroll down to the signIn function, just below the render() method:

    signIn = async () => {