omab/django-social-auth — Issue #209: FourSquare association redirect_uri_mismatch
Author: appel268576
Created: 2011-12-28 11:01:05+00:00
State: open

Testing out some of the features of the app.
Seems to work great apart from association with FourSquare.

I have added the backend

AUTHENTICATION_BACKENDS = (
...
'social_auth.backends.contrib.foursquare.FoursquareBackend',
...
)

added the authentication backed, and made sure the settings are correct from foursquare.

SOCIAL_AUTH_ENABLED_BACKENDS = ('twitter', 'facebook', 'linkedin', 'foursquare')

the secret and id is set

urlpatterns = patterns('',
url(r'^$', home, name='home'),
url(r'^done/$', done, name='done'),
url(r'^error/$', error, name='error'),
url(r'^logout/$', logout, name='logout'),
url(r'^admin/', include(admin.site.urls)),
url(r'', include('social_auth.urls')),
)

Foursquare settings

Homepage - http://vivid-snow-2699.herokuapp.com/
Callback - http://vivid-snow-2699.herokuapp.com/complete/foursquare/

Everytime resulting in an "redirect_uri_mismatch" error.

Any ideas?