Weekend Learning Sprint: Adding Authentication to your Django app: AllAuth integration and customisation
Sat Apr 12, 09:00 - Sun Apr 13, 23:00
Event is online
ABOUT
Django-allauth is franky brilliant. It provides robust, secure, fully-featured and flexible authentication out of the box. There is a good reason that it's the go-to authentication package for Django developers.
There's just one problem... It's not very easy to figure out.
Getting Django-allauth to basically work in a Django project isn't too bad. There are a lot of tutorials out on the web that will show you how to do it. But if you want to integrate it into your application in a way that fits your purposes and is visually consistent with the rest of your application... well... it's no longer easy.
In this hands-on, practical workshop you will integrate and customise allauth in a realistic application. In doing so you will learn what it takes to integrate it into any application and you'll get comfortable in peeking under the hood to see how it works.
### What we will cover
- **Introduction to Django Authentication**: A quick overview of Django's built-in authentication system and why django-allauth is a great choice for enhanced functionality.
- **Installing and Configuring django-allauth**: Step-by-step guidance for setting up django-allauth in your project.
- **Navigating the django-allauth code-base**: Yes, we'll be reading the source code to understand how it works! This is useful because customisation is not always obvious, digging around in the code can be very helpful
- **Customizing Templates**: Learn to adapt django-allauth's default templates and styling
- **Social Authentication**: Enable social logins
- **Customizing User Models**: Extend Django’s User model with custom fields and integrate it with django-allauth.
- **Account Management**: Explore features like email verification, password resets, and user account settings.
- **Authorization and Permissions**: Once you know who a user is, the next step is to make sure they can only do what you allow them to do in your application
### Learning from the AllAuth code
The best way to learn to get AllAuth to dance is by looking at the AllAuth code. Py peeking under the hood, we'll be able to get an idea of what the package maintainers think is important. You'll see how internationalisation is implemented, how template hierarchies are structured, and much more!
### Prerequisite knowledge
This workshop requires a solid grasp of Django. If you have written any kind of realistic Django project then you should be fine.
If you are new to Django you can still join in but it's important to realise that there will be a much steeper learning curve.
## How this will work
This is an online workshop. Ticket holders will be emailed joining information so that they have access to our chat platform, meetings and course material.
When the workshop begins, you will be given access to the course materials. You will be able to move through them at your own pace.
You will be given access to a group chat where you will be able to talk to your peers and ask questions at any times.
You will be invited to take part in check in sessions throughout the day where your progress and related topics can be discussed.
During the workshop, the instructor will be present and able to support at all times.
If you have any questions, please email hello@prelude.tech