Course lesson
Now that we have user Authentication, we can redirect users to sign in if we don't find a cookie to do so.
Now that we have user Authentication, we can redirect users to sign in if we don't find a cookie to do so.
Throughout our app we can now replace our fauna token we have set in environment variables to the user token that we have access to.
Course lesson
Now that we have user Authentication, we can redirect users to sign in if we don't find a cookie to do so.