More documentation needed - Channels with multiple authentication backends

2022-09-05 Thread Laurent De Buyst
Greetings, I've started using channels in an existing application (because IDOM requires it), which has two authentication backends (one local, one LDAP): AUTHENTICATION_BACKENDS = [ "django_auth_ldap.backend.LDAPBackend", "django.contrib.auth.backends.ModelBackend&

Re: [BUG] Django 1.11 backward compatibility bug when several authentication backends are in use

2017-04-07 Thread René Fleschenberg
Hi Raffi, Thanks for taking the time to report this. Can you please file an issue at https://code.djangoproject.com/? The people who deal with triaging and fixing bugs may not be following the django-users list. Thanks! René On 04/07/2017 03:43 PM, Raffi Enficiaud wrote: > Hi Django list! > >

[BUG] Django 1.11 backward compatibility bug when several authentication backends are in use

2017-04-07 Thread Raffi Enficiaud
Hi Django list! I am using a django-crowd authentication backend and the deployment today was not working with our setup. I nailed it down to the fact that the backward compatibility is not working as expected for 1.11 for the authenticate method: https://docs.djangoproject.com/en/1.11/topics/

Re: Authentication backends

2012-12-16 Thread Russell Keith-Magee
auth interface: * authenticate(), which validates that the user is allowed to access the site * login() which actually does the login. The call to authenticate() is then passed off to the various authentication backends. The ModelBackend has an easy task here, because all the necessary data is

Authentication backends

2012-12-16 Thread Michael Anckaert
Hello everyone On my current project I need a mix of builtin Django authentication and oAuth2 sources. But when writing a custom authentication backend, when does it get used? The docs say: """Once a user has authenticated, Django stores which backend was used to authenticate the user in the user