X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/143150bddf1a02498da0dcbdf0ad59d540c1519a..9b8e2e53b0f70f91868b4c16e130967c7da5a958:/forum_modules/oauthauth/consumer.py diff --git a/forum_modules/oauthauth/consumer.py b/forum_modules/oauthauth/consumer.py index bbbaac8..ee9bf97 100644 --- a/forum_modules/oauthauth/consumer.py +++ b/forum_modules/oauthauth/consumer.py @@ -52,7 +52,7 @@ class OAuthAbstractAuthConsumer(AuthenticationConsumer): parameters = {} # If the installation is configured to automatically redirect to the Twitter provider done page -- do it. if bool(TWITTER_AUTO_CALLBACK_REDIRECT): - callback_url = '%s%s' % (APP_URL, reverse('auth_provider_done', kwargs={ 'provider' : 'twitter', })) + callback_url = '%s%s' % (APP_URL, reverse('auth_provider_done', prefix='/', kwargs={'provider' : 'twitter'})) # Pass parameters.update({ 'oauth_callback' : callback_url,