Django backend for Minecraft.net authentication.
django-mcauth is a pluggable authentication back-end that lets your users login with their Minecraft.net user/pass.
Python 2.6 or 2.7 (I don’t care to officially support 2.5)
Add 'mcauth.backend.MinecraftAuthServerBackend' to your settings.py like so:
AUTHENTICATION_BACKENDS = ( 'mcauth.backend.MinecraftAuthServerBackend', 'django.contrib.auth.backends.ModelBackend', )
If you don’t want to create new local Django users when someone logs in with a valid user/pass, but doesn’t already exist in the DB, you can do this in settings.py:
# Only existing User objects can be authenticated against. MCAUTH_CREATE_UNKNOWN_USERS = False
If you have questions or ideas, or encounter bugs, add an entry to our issue tracker.
django-mcauth is licensed under the BSD License.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.