Skip to content

Azelphur/django-bcauth

Repository files navigation

django-bcauth

Bitcoin authentication for django, based on gribble.

Demo

Installation

In settings.py...

Add bcauth to your INSTALLED_APPS

Add bcauth.backends.BitcoinBackend to your AUTHENTICATION_BACKENDS

set BCAUTH_CHALLENGE to something sensible, like this.

BCAUTH_CHALLENGE = 'This message is being signed solely to authenticate to myWebsite on $timestamp. It is not to be used for any other purposes. It is void for any purpose after $expires. $otp'

set BCAUTH_SESSION_EXPIRE to the number of seconds to expire a login request in, 600 is recommended.

BCAUTH_SESSION_EXPIRE = 600

About

Bitcoin authentication for django, based on gribble.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages