Environment:
Request Method: GET
Request URL: http://shr.im/login/
Django Version: 1.3
Python Version: 2.5.2
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'shr.url',
'shr.oauthlogin']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.middleware.csrf.CsrfResponseMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware')
Traceback:
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in get_response
-
response = callback(request, _callback_args, *_callback_kwargs)
File "/home/django/shr/oauthlogin/views.py" in connection
-
token = get_unauthorized_token()
File "/home/django/shr/oauthlogin/utils.py" in get_unauthorized_token
- return oauth.OAuthToken.from_string(oauth_response(req))
File "/usr/lib/python2.5/site-packages/oauth/oauth.py" in from_string
-
key = params['oauth_token'][0]
Exception Type: KeyError at /login/
Exception Value: 'oauth_token'
Environment:
Request Method: GET
Request URL: http://shr.im/login/
Django Version: 1.3
Python Version: 2.5.2
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'shr.url',
'shr.oauthlogin']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.middleware.csrf.CsrfResponseMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware')
Traceback:
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in get_response
File "/usr/lib/python2.5/site-packages/oauth/oauth.py" in from_string
Exception Type: KeyError at /login/
Exception Value: 'oauth_token'