S
S
slickstars2015-09-04 14:56:39
Django
slickstars, 2015-09-04 14:56:39

What authorization system to use?

Hi I'm making a small rest api using Django REST Framework and I need a user authorization/registration system preferably based on tokens. I tried different ready-made implementations:
allauth - done this way, in response it gives not a json result, but a representation in the form of
djoser forms - the best I found, but when you add your fields for the user, they are displayed as required during registration (for example, the balance field I don’t I want it to be available during registration), if I remove it, then it will not be displayed in /djoser-auth/me/ (user information).
django-rest-auth - there were a lot of inconveniences and it seems to work based on allauth
Maybe someone knows what can be used in this case? I would make my own implementation but this is not enough knowledge in django.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nutt, 2015-09-13
@nutt

Hello.
You can look in the direction of this project - https://github.com/nemesisdesign/nodeshot/blob/mas... It has everything you need!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question