Commits

Andy Mroczkowski committed 6d502c0

callback optional for xauth

  • Participants
  • Parent commits c1186aa

Comments (0)

Files changed (1)

File oauth_provider/views.py

         
         # Handle Request Token
         try:
-            request_token = store.create_request_token(request, oauth_request, consumer, oauth_request['oauth_callback'])
+            request_token = store.create_request_token(request, oauth_request, consumer, oauth_request.get('oauth_callback'))
             request_token = store.authorize_request_token(request, oauth_request, request_token)
         except oauth.Error, err:
             return send_oauth_error(err)