An example of how file authentication can be implemented. To log in, the user can either enter username/password or drag and drop an authentication file.
You can generate a new authentication file with the “makeauthfile” management command:
python manage.py makeauthfile [user_id] [filename]
For example:
python manage.py makeauthfile 1 key.txt