How do I use auth token?
erdenezul opened this issue · 4 comments
erdenezul commented
How do I use auth token?
BurkovBA commented
Hi, @erdenezul!
You pass it from frontend to your backend in Authorization header on each request to associate this request with particular user as described in TokenAuthentication documentation.
BurkovBA commented
@erdenezul You can just follow this example: https://github.com/BurkovBA/django-rest-framework-mongoengine-example.
It has a users app that implements TokenAuthentication using mongoengine backend.