django-mcauth 1.0

Django backend for Minecraft.net authentication

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
BSD License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Gregory Taylor
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
django-mcauth is a Django app that provides pluggable authentication backend that lets your users login with their Minecraft.net user/pass.

Warning

Authentication against Minecraft.net auth servers is not officially endorsed, and may cease to work at any time. Using a fallback authentication backend (like Django's default) will prevent complete failure if Notch ever decides to lock things down. Also keep in mind that if you run a high traffic site, you may be asked to stop hitting the Minecraft.net auth server.

Installation

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


Support


If you have questions or ideas, or encounter bugs, add an entry to our issue tracker.

Last updated on June 1st, 2011

requirements

#pluggable authentication #Django backend #Minecraft.net authentication #Django #Minecraft.net #authentication #backend

Add your review!

SUBMIT