Django backend for Minecraft.net authentication.
Project description
django-mcauth is a pluggable authentication back-end that lets your users login with their Minecraft.net user/pass.
Requirements
Django 1.2+
Python 2.6 or 2.7 (I don’t care to officially support 2.5)
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.
License
django-mcauth is licensed under the BSD License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mcauth-1.0.tar.gz
.
File metadata
- Download URL: mcauth-1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 458e5677185d2e2b3bb5eb5586e10e9dd683e14860c855b9032e9b5f88ccb9e8 |
|
MD5 | 97900b7b0b63a2b0f00ca545ec52556a |
|
BLAKE2b-256 | dfac74e423ef7157c9df2b05e05e9db56cc44e3dee758b238a8fa3669c71bd9e |