Skip to content

Instantly share code, notes, and snippets.

@highvoltage
Created August 17, 2013 11:39
Show Gist options
  • Save highvoltage/6256528 to your computer and use it in GitHub Desktop.
Save highvoltage/6256528 to your computer and use it in GitHub Desktop.
Environment:
Request Method: GET
Request URL: http://qa-sideloader.za.prk-host.net/complete/github/?code=6e7833aa317dc2a5259a&redirect_state=Uiq0mmUsBEH92uIzaLLTYdJ11fbvP8uR&state=Uiq0mmUsBEH92uIzaLLTYdJ11fbvP8uR
Django Version: 1.5.2
Python Version: 2.7.3
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'south',
'gunicorn',
'django_nose',
'djcelery',
'djcelery_email',
'social_auth',
'debug_toolbar',
'bootstrap',
'sideloader')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Traceback:
File "/var/praekelt/python/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
115. response = callback(request, *callback_args, **callback_kwargs)
File "/var/praekelt/python/local/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
77. return view_func(*args, **kwargs)
File "/var/praekelt/python/local/lib/python2.7/site-packages/social_auth/decorators.py" in wrapper
29. return func(request, request.social_auth_backend, *args, **kwargs)
File "/var/praekelt/python/local/lib/python2.7/site-packages/social_auth/views.py" in complete
41. return complete_process(request, backend, *args, **kwargs)
File "/var/praekelt/python/local/lib/python2.7/site-packages/social_auth/views.py" in complete_process
107. user = auth_complete(request, backend, *args, **kwargs)
File "/var/praekelt/python/local/lib/python2.7/site-packages/social_auth/views.py" in auth_complete
190. return backend.auth_complete(user=user, request=request, *args, **kwargs)
File "/var/praekelt/python/local/lib/python2.7/site-packages/social_auth/backends/__init__.py" in auth_complete
850. *args, **kwargs)
File "/var/praekelt/python/local/lib/python2.7/site-packages/social_auth/backends/__init__.py" in do_auth
918. return authenticate(*args, **kwargs)
File "/var/praekelt/python/local/lib/python2.7/site-packages/django/contrib/auth/__init__.py" in authenticate
60. user = backend.authenticate(**credentials)
File "/var/praekelt/python/local/lib/python2.7/site-packages/social_auth/backends/__init__.py" in authenticate
104. kwargs['uid'] = self.get_user_id(kwargs['details'], response)
File "/var/praekelt/python/local/lib/python2.7/site-packages/social_auth/backends/__init__.py" in get_user_id
212. return response[self.ID_KEY]
Exception Type: KeyError at /complete/github/
Exception Value: 'id'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment