Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed React Authentication!
You have completed React Authentication!
Preview
We’ll use React’s context api to be able to provide the user’s data to any component in our app
Resources
React DevTools
Treehouse Courses and Workshops
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
they're greeted with a generic message and
don't have the ability to sign out.
0:00
Now that we have a way to authenticate and
identify users,
0:01
we can associate data with specific users.
0:05
When an authenticated
user logs into the app,
0:08
we'll display a custom message on
the page with their name and username.
0:12
We'll also add a welcome message in
the header using their name, and
0:18
replace the navigation links with
the settings and sign out links.
0:23
To be able to display the welcome
message on the authenticated route and
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up