3 ms·
The main thing I would wonder about is if there's a good auth plugin for FastAPI. I am not a huge fan of Django, but if you have already chosen Python, it is r
by skrtskrt 6y ago
The main thing I would wonder about is if there's a good auth plugin for FastAPI.
I am not a huge fan of Django, but if you have already chosen Python, it is really hard to argue with having good, battle-tested auth system out of the box.
- buffalobuffalo 6y agoThe other side of the coin is that django's auth system is pretty rigid. Adding additional fields to the user object is clunky, and trying to do an unusual auth flow can be downright ugly. Dealing with that a few times can leave you a lot more open to designing your own and/or patching together other libraries. At least, that's how it went for me a few years ago.
- hdbsjahxb 6y agoDjango allauth handles 90% of auth needs. Adding fields to user is easy if you set it up correctly