Skip to content

Commit b187a40

Browse files
authored
Merge pull request #218 from honeylogic-io/add-github-social-login
feat: add Github social login
2 parents 4c71a8c + 547b389 commit b187a40

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config/settings/base.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,12 @@
344344
)
345345
ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = True
346346

347+
SOCIALACCOUNT_PROVIDERS = {
348+
"github": {
349+
"SCOPE": ["read:user"],
350+
}
351+
}
352+
347353
# Your stuff...
348354
# ------------------------------------------------------------------------------
349355
CONSTANCE_BACKEND = "constance.backends.database.DatabaseBackend"

0 commit comments

Comments
 (0)