Hi guys,
I’m trying to configure login via GitHub using Django allauth. I created an OAuth app on GitHub, added those credentials in the admin portal, and still getting this error.
[23/Apr/2025 01:19:59] "GET / HTTP/1.1" 200 3721
[23/Apr/2025 01:20:03] "GET /accounts/login/ HTTP/1.1" 200 3304
[23/Apr/2025 01:20:10] "GET /accounts/github/login/?process=login HTTP/1.1" 200 1624
[23/Apr/2025 01:20:14] "POST /accounts/github/login/?process=login HTTP/1.1" 302 0
[23/Apr/2025 01:20:17] "GET /accounts/github/login/callback/??code=d677ed4m9d8faaaq221f&state=fEpzuCZEzXNDjQqi HTTP/1.1" 200 1320
This is my settings code
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
# my-apps
"visits",
"commando",
#Third part app
'allauth_ui',
'allauth',
'allauth.account',
'allauth.socialaccount',
'allauth.socialaccount.providers.github',
'widget_tweaks',
'slippers',
]
SOCIALACCOUNT_PROVIDERS = {
"github":{
"VERIFIED_EMAIL": True
}
}
Can anyone help me solve this error?