Is there an error?

Have you debugged? Both in the Django and ldap endpoint to see if some
connection is going out from Django and arriving to ldap server?

Have you used pdb?

El dom., 15 dic. 2019 17:49, Ido Ashkenazi <idoa...@gmail.com> escribió:

> ,Hey
> .I am trying to use token authentication with LDAP backend
> .I am using django_auth_ldap and was able to successfully setup the login
> process with ldap in the django admin panel
> .But when trying to retrieve a token using the obtain_auth_token I am
> unable to login
>   .It seems as if the method doesn't call the LDAP backend, no logs show
> up in the console from the LDAP backend
> ?Is obtain_auth_token supposed to use the configured authentication backend
>
> --
> 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/05a59552-9f1b-48ce-ae8f-fb0fae532e47%40googlegroups.com
> <https://groups.google.com/d/msgid/django-rest-framework/05a59552-9f1b-48ce-ae8f-fb0fae532e47%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/CANyTv7r-3X0MyPeBZ97Uh28F0snM9RXujyKSA4xX2BJa%3DMZtEQ%40mail.gmail.com.

Reply via email to