I'm trying to use shopify to get token from a store.
Environment:
Request Method: GET
Request URL: http://127.0.0.1:8000/login/shopify/
Django Version: 1.8.5
Python Version: 2.7.14
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.humanize',
'django.contrib.admin',
'main',
'main.templatetags',
'users',
'questions',
'dashboard',
'tinytests',
'common',
'spike',
'adm',
'social.apps.django_app.default',
'compressor',
'django.contrib.sitemaps',
'djcelery',
'redactor',
'corsheaders')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.cache.UpdateCacheMiddleware',
'htmlmin.middleware.HtmlMinifyMiddleware',
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'main.middleware.AccountNotConfirmedMiddleware',
'main.middleware.NoMailMiddleware',
'main.middleware.UpdateLastActivityMiddleware',
'social.apps.django_app.middleware.SocialAuthExceptionMiddleware',
'django.middleware.cache.FetchFromCacheMiddleware',
'htmlmin.middleware.MarkRequestMiddleware',
'main.middleware.UserUidMiddleware',
'main.middleware.UserHistoryInfo',
'main.middleware.UserReferredMiddleware',
'main.middleware.UserCouponMiddleware')
Traceback:
File "/Users/fraf9/Sites/saldd/ve/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
132. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/fraf9/Sites/saldd/ve/lib/python2.7/site-packages/social/apps/django_app/utils.py" in wrapper
45. return func(request, backend, *args, **kwargs)
File "/Users/fraf9/Sites/saldd/ve/lib/python2.7/site-packages/social/apps/django_app/views.py" in auth
12. return do_auth(request.social_strategy, redirect_name=REDIRECT_FIELD_NAME)
File "/Users/fraf9/Sites/saldd/ve/lib/python2.7/site-packages/social/actions.py" in do_auth
25. return strategy.start()
File "/Users/fraf9/Sites/saldd/ve/lib/python2.7/site-packages/social/strategies/base.py" in start
66. return self.redirect(self.backend.auth_url())
File "/Users/fraf9/Sites/saldd/ve/lib/python2.7/site-packages/social/backends/shopify.py" in auth_url
50. self.data.get('shop').strip(),
Exception Type: AttributeError at /login/shopify/
Exception Value: 'NoneType' object has no attribute 'strip'