File: yahoo.rst

package info (click to toggle)
python-social-auth 0.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,828 kB
  • ctags: 3,245
  • sloc: python: 12,867; makefile: 119; sh: 3
file content (33 lines) | stat: -rw-r--r-- 798 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Yahoo
=====

Yahoo supports OpenId and OAuth1 for their auth flow.


Yahoo OpenId
------------

OpenId doesn't require any particular configuration beside enabling the backend
in the ``AUTHENTICATION_BACKENDS`` setting::

    AUTHENTICATION_BACKENDS = (
        ...
        'social.backends.yahoo.YahooOpenId',
        ...
    )


Yahoo OAuth1
------------

OAuth 1.0 workflow, useful if you are planning to use Yahoo's API.

- Register a new application at `Yahoo Developer Center`_, set your app domain
  and configure scopes (they can't be overriden by application).

- Fill ``Consumer Key`` and ``Consumer Secret`` values in the settings::

      SOCIAL_AUTH_YAHOO_OAUTH_KEY = ''
      SOCIAL_AUTH_YAHOO_OAUTH_SECRET = ''

.. _Yahoo Developer Center: https://developer.apps.yahoo.com/projects/