Django projects and authentication
This week was somewhat productive but flow is still somewhat stilted…
I have a skeleton django project created and thanks to some focused coding on Wendesday, I have oAuth authentication via Google, Facebook and Twitter working. Currently thinking about how to structure the data around the techno-economic assessments so I can start getting some traction there. The “simple” spreadsheet tools that I’ve been looking at demonstrate how completed Excel sheets can get!
Useful documentation on authenticating users via social networks in Django:
- Django Authentication With Facebook, Instagram and LinkedIn
- How to add social login to Django
- OAuth Authentication in Django with social-auth
- User account validation with social-auth-django
- Adding Social Authentication to Django
- django_oauth documentation
- https://python-social-auth.readthedocs.io/en/latest/configuration/django.html
- https://python-social-auth.readthedocs.io/en/latest/pipeline.html
- https://python-social-auth.readthedocs.io/en/latest/backends/index.html
Useful documentation on django:
- Structuring django projects: https://djangobook.com/mdj2-django-structure/
- Running a SSL-enabled django development server: https://github.com/teddziuba/django-sslserver
- Configuration for static files in django: https://stackoverflow.com/questions/55802798/
Security:
- Storing config values outside the codebase: https://stackoverflow.com/questions/42077532/django-security-and-settings
Misc:
- The Twelve Factors (a methodology for building software-as-a-service apps): https://12factor.net/
- Python Decouple article: https://simpleisbetterthancomplex.com/2015/11/26/package-of-the-week-python-decouple.html
- Python Decouple documentation: https://pypi.org/project/python-decouple/
- Getting around domain restrictions for developer platforms: https://readme.localtest.me/
Academic Reading
- Papers by Paul Rowley, Loughborough University: https://repository.lboro.ac.uk/authors/Paul_Rowley/1249551