App for django bitId authentication
A django app for bitId authentication.
WARNING: The bitId specification is a work in progress and it will probably change.
In your setting.py file, add the backend to AUTHENTICATION_BACKENDS.
You can implement your own login passing bitid_uri, callback_uri, signature and address to the backend or use the provided templates and forms.
To use the provided templates and forms add djbitid to installed apps.
Then add to your urls
The provided templates extend ‘base.html’
Optional settings are:
Use bitcoin testnet. Defaults to False
Challenge expiration time in seconds. Defaults to 600 seconds.