Using MSAL with Django REST Framework and JWT

I need a Django package where the user can log in using Microsoft account. I’m using Django REST Framework as a backend, and Vue.js as a frontend. Furthermore, I also use djangorestframework-jwt for JWT token-based authentication.

Here the sequence diagram of what I need

Django MSAL Flow

However, I can’t find one that satisfies my needs. So I created one, check it out here

Django Rest Framework MSAL + JWT

Most of my projects right now use Django and need Microsoft authentication, so I plan to improve it along the way. If you need any features, then please feel free to create an issue. Contributions are also very welcome.