Re: obtain_auth_token using LDAP backend

25 views
Skip to first unread message

Gonzalo Amadio

unread,
Dec 16, 2019, 7:54:46 AM12/16/19
to Django REST framework
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 <ido...@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-fram...@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.

Sebastian Abarca

unread,
Dec 17, 2019, 3:09:24 AM12/17/19
to django-res...@googlegroups.com
Hi, I'm creating a food ordering website with Django, but it was made by Django 1.1 version. Are all the installments going to work with my application?
https://www.youtube.com/watch?v=yDv5FIAeyoY

Gonzalo Amadio

unread,
Dec 17, 2019, 8:12:23 PM12/17/19
to Django REST framework
I think the question have nothing to do with the other question.

But what are you meaning? Which installments? Check which version of DRF is compatible with django 1.1 and install that version





--
--------
Gonzalo Amadio
Reply all
Reply to author
Forward
0 new messages