I did a lot of Vue + Django projects in 2017 and early 2018. I used different libraries with DRF for JWT, but if I remember correctly, I could use an authenticate method in a view. One project I'm pretty sure I used the login view, another I think I did something custom.
I did a lot of Vue + Django projects in 2017 and early 2018. I used different libraries with DRF for JWT, but if I remember correctly, I could use an
authenticate
method in a view. One project I'm pretty sure I used the login view, another I think I did something custom.I've updated the post with my temporary solution.
Thanks, I'll try to research a bit how to do it with REST.