#Authentication

5 posts

Angular in Practice #2: Authentication and HTTP Interceptor
10 min read

Angular in Practice #2: Authentication and HTTP Interceptor

Filling the dashboard skeleton with an auth flow. Reactive Forms login, an AuthService that holds the token in a signal, a functional Auth Guard, and an HTTP Interceptor that automatically attaches the token to every request — a full lap around auth in modern Angular.

Django DRF #2: Authentication/Permissions — Token, JWT, custom permission
8 min read

Django DRF #2: Authentication/Permissions — Token, JWT, custom permission

DRF authentication backends (Session/Token/JWT), permission classes, and object-level custom permissions like IsOwner — all in one place.

Modern Python in Practice #4: Authentication — OAuth2 Password Flow + JWT
8 min read

Modern Python in Practice #4: Authentication — OAuth2 Password Flow + JWT

Password hashing (argon2/bcrypt), the OAuth2 password flow, JWT issuance/verification, and a clean current_user dependency for authenticated routes.

Django Intermediate #4: Users/Permissions — custom user model, permission, group
7 min read

Django Intermediate #4: Users/Permissions — custom user model, permission, group

AUTH_USER_MODEL must be decided at project start — AbstractUser vs AbstractBaseUser, the email-login pattern, and the permission/group system.

Django Basics #7: Django Admin and Built-in Authentication
7 min read

Django Basics #7: Django Admin and Built-in Authentication

Django Admin auto CRUD UI, ModelAdmin customization, the built-in User model, login_required and permissions — all in one place.