Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

django-lastfm-auth is an extension to django-social-auth which adds a backend for

Project description


Django-Lastfm-Auth is an extension to `Django-Social-Auth <>`_
which adds a backend for

If you are looking for a stand alone authentication backend then please
check out `django-lastfmauth <>`_.


- Django-Social-Auth >= 0.3.3
- Django >= 1.2.5
- Python-OAuth2 >= 1.5.167
- Python-Openid >= 2.2

API Keys

In order to use this application you must sign up for API keys on These should be put into your settings file using the settings::

LASTFM_API_KEY = '' # Your api key
LASTFM_SECRET = '' # Your api secret

Extra data

Similar to the other OAuth backends you can define

LASTFM_EXTRA_DATA = [('realname', 'realname'), ]

as a list of tuples (response name, alias) to store on the UserSocialAuth model.


To install django-lastfm-auth via pip::

pip install django-lastfm-auth

Or you can from the latest version from Github manually::

git clone git://
cd django-lastfm-auth
python install

or via pip::

pip install -e git+

Once you have the app installed you must include in your settings::




Please refer to the `Django-Social-Auth <>`_
documentation for additional information.

Questions or Issues?

If you have questions, issues or requests for improvements please let me know on
`Github <>`_.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-lastfm-auth-0.2.3.tar.gz (7.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page