docs(local): add notes on authenticating locally (#35336)
This commit is contained in:
committed by
Randell Dawson
parent
37aa3172ea
commit
fa6de3c83f
@ -226,6 +226,16 @@ Meaning, if you visit <http://localhost:3000/explorer> you should see the APIs t
|
||||
|
||||
Congratulations 🎉! You now have a copy of freeCodeCamp's entire learning platform running on your local machine.
|
||||
|
||||
## How to Sign in when working locally
|
||||
|
||||
Your local setup automatically populates a local user in the database. Clicking the sign in button will automatically authenticate you into the local application.
|
||||
|
||||
However, accessing the user portfolio page is a little tricky. In development, Gatsby takes over serving the client side pages and hence you will get a 404 page for the user portfolio when working locally.
|
||||
|
||||
Simply clicking the `Preview Custom 404 Page` button will forward you to the correct page.
|
||||
|
||||

|
||||
|
||||
## Quick commands reference when working locally
|
||||
|
||||
[Here is a quick reference](/docs/README.md) to a list of commands that you may need locally from time to time:
|
||||
|
Reference in New Issue
Block a user