This guide will help you log in to your local FCC site using your GitHub account. This process should be similar for logging in with other social media accounts. This guide assumes you already have a local copy of FCC up and running.
- Register a new OAuth application
- Homepage field:
- Callback field:
- Copy/paste the Client ID and Client Secret into your
- Use port 3000 when viewing your local FCC site
Free Code Camp Issue Mods and staff are on hand to assist with Pull Request related issues on our Help Contributors Chat Room
Make sure to log in on port 3000, port 3001 will not work.
Log In Using Your GitHub Account
- Register a new OAuth application and click Register new application
Alternatively, click your Profile Picture => Settings => Applications => Developer applications => Register new application
- Fill out OAuth application fields
Application name - choose any name, like
Homepage URL - set to
- Application description - optional
Authorization callback URL - set to
- Click Register application to see the newly registered application page with your Client ID and Client Secret.
- Copy and paste your Client ID and Client Secret into your
Note: your Client ID and Client Secret will be long alphanumeric values.
Remove / unset with comment block the unwanted provider in passport-provider.
Add SESSION_SECRET and COOKIE_SECRET in
.envif you get error on express-session and cookieParser.
- Run command
node seedbefore run
gulpif you dont get the challenges.
Congratulations! You can now successfully log into your local FCC site using your GitHub account.