Skip to content

oauth connection failure #1

Description

@Natim

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

  1.                     response = callback(request, _callback_args, *_callback_kwargs)
    
    File "/home/django/shr/oauthlogin/views.py" in connection
  2.     token = get_unauthorized_token()
    
    File "/home/django/shr/oauthlogin/utils.py" in get_unauthorized_token
  3. return oauth.OAuthToken.from_string(oauth_response(req))
    File "/usr/lib/python2.5/site-packages/oauth/oauth.py" in from_string
  4.     key = params['oauth_token'][0]
    

Exception Type: KeyError at /login/
Exception Value: 'oauth_token'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions