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

Last.fm uses a similar authentication process than OAuth2 but it's not. In
order to enable the support for it just:

- Register an application at `Get an API Account`_, set the Last.fm callback to
  something sensible like http://your.site/complete/lastfm

- Fill in the **API Key** and **API Secret** values in your settings::

    SOCIAL_AUTH_LASTFM_KEY = ''
    SOCIAL_AUTH_LASTFM_SECRET = ''

- Enable the backend in ``AUTHENTICATION_BACKENDS`` setting.
    
.. _Get an API Account: http://www.last.fm/api/account/create