From: niQo Date: Fri, 27 Apr 2012 16:08:14 +0000 (+0200) Subject: Tests for Skyrock provider X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=9fb0405b523043f34cecc92ae3b2967520872f9e;p=django-social-auth.git Tests for Skyrock provider --- diff --git a/doc/backends/skyrock.rst b/doc/backends/skyrock.rst new file mode 100644 index 0000000..d91ba8e --- /dev/null +++ b/doc/backends/skyrock.rst @@ -0,0 +1,20 @@ +Skyrock +======= + +OAuth based Skyrock Connect. +Skyrock offers per application keys named ``Consumer Key`` and ``Consumer Secret``. +To enable Skyrock these two keys are needed. Further documentation at +`Skyrock developer resources`_: + +- Register a new application at `Skyrock App Creation`_, + +- Your callback domain should match your application URL in your application configuration. + +- fill **Consumer Key** and **Consumer Secret** values:: + + SKYROCK_CONSUMER_KEY + SKYROCK_CONSUMER_SECRET + + +.. _Skyrock developer resources: http://www.skyrock.com/developer/ +.. _Skyrock App Creation: https://wwwskyrock.com/developer/application diff --git a/example/local_settings.py.template b/example/local_settings.py.template index 7ac2635..c4fe214 100644 --- a/example/local_settings.py.template +++ b/example/local_settings.py.template @@ -4,6 +4,8 @@ FACEBOOK_APP_ID = '' FACEBOOK_API_SECRET = '' LINKEDIN_CONSUMER_KEY = '' LINKEDIN_CONSUMER_SECRET = '' +SKYROCK_CONSUMER_KEY = '' +SKYROCK_CONSUMER_SECRET = '' ORKUT_CONSUMER_KEY = '' ORKUT_CONSUMER_SECRET = '' GOOGLE_OAUTH2_CLIENT_ID = '' diff --git a/example/settings.py b/example/settings.py index 005ff2e..768e44c 100644 --- a/example/settings.py +++ b/example/settings.py @@ -75,6 +75,7 @@ AUTHENTICATION_BACKENDS = ( 'social_auth.backends.google.GoogleBackend', 'social_auth.backends.yahoo.YahooBackend', 'social_auth.backends.contrib.linkedin.LinkedinBackend', + 'social_auth.backends.contrib.skyrock.SkyrockBackend', 'social_auth.backends.contrib.flickr.FlickrBackend', 'social_auth.backends.contrib.instagram.InstagramBackend', 'social_auth.backends.OpenIDBackend',