Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ NEXTAUTH_SECRET=abcdefghijlmnopqrstuvwxyz

GITHUB_ID=
GITHUB_SECRET=
GITHUB_OAUTH_ISSUER=https://github.com/login/oauth

#If you are contributing to the project and using Github OAuth above, then feel free to not set the below variables.
#On production this should be set to FCC's auth0 tenant.
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ build/Release
node_modules/
jspm_packages/


# TypeScript v1 declaration files
typings/

Expand Down Expand Up @@ -145,4 +146,6 @@ yarn-error.log*
data/challengeMap.json

# Docker local overrides
docker-compose.override.yml
docker-compose.override.yml

/graphify-out
1 change: 1 addition & 0 deletions pages/api/auth/[...nextauth].js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ if (process.env.GITHUB_OAUTH_PROVIDER_ENABLED == 'true') {
GithubProvider({
clientId: process.env.GITHUB_ID,
clientSecret: process.env.GITHUB_SECRET,
issuer: process.env.GITHUB_OAUTH_ISSUER,
// Enable dangerous account linking in dev environment
...(process.env.DANGEROUS_ACCOUNT_LINKING_ENABLED == 'true'
? { allowDangerousEmailAccountLinking: true }
Expand Down