File: livejournal.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 (16 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
LiveJournal
===========

LiveJournal provides OpenId, it doesn't require any major settings in order to
work, beside being defined on ``AUTHENTICATION_BACKENDS```::

    SOCIAL_AUTH_AUTHENTICATION_BACKENDS = (
        ...
        'social.backends.aol.AOLOpenId',
        ...
    )

LiveJournal OpenId is provided by URLs in the form ``http://<username>.livejournal.com``,
this application retrieves the ``username`` from the data in the current
request by checking a parameter named ``openid_lj_user`` which can be sent by
``POST`` or ``GET``.