Just go to table ' auth_tokens ' there you can see a foreign key  '
user_id  '  linking to users table.

So using auth_token you can get the record from auth_tokens table where u
can retrieve user_id I think you got from here what to do....

On Sat, 29 Aug, 2020, 12:39 am yashwanth balanagu, <
balanaguyashwa...@gmail.com> wrote:

> After Registration and login i was created the auth token for login
> authentication through api
>
> user auth token  :- e3b026312e366c5005cc90a3bbbb6bfb430a2aa2,
> generated by backend after login from frontend using django rest login
> api's
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django REST framework" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-rest-framework+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-rest-framework/51908865-3a8a-4e68-bc76-1ee6fd6e3a55n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-rest-framework/51908865-3a8a-4e68-bc76-1ee6fd6e3a55n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-rest-framework+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/CAN9FMSxm4tOFb8%3D0xevLPbRWLa8Q1DaEsUyb-duS2KQu_Mua5A%40mail.gmail.com.

Reply via email to