Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP Account support - Push allowed/wanted? #136

Open
Alsterdetektive1 opened this issue Mar 29, 2022 · 2 comments
Open

LDAP Account support - Push allowed/wanted? #136

Alsterdetektive1 opened this issue Mar 29, 2022 · 2 comments

Comments

@Alsterdetektive1
Copy link

Hey,
I searched a bit for a good finance Software with ldap Support. So at the end i came to this software which is made by django. LDAP Support Implementation shall be very easy, so i want to ask if it is desired, that i implement it and make a push request to the git.

@simhnna
Copy link
Contributor

simhnna commented May 30, 2022

sorry I didn't get back to this. I guess this can be handled using an extra dependency and modifying the authentication config?

If something needs to be changed in the code, I'm happy to merge it

@Alsterdetektive1
Copy link
Author

Hey,
yeah just need to Import django_auth_ldap as authentication backends:

AUTHENTICATION_BACKENDS = [ 'django_auth_ldap.backend.LDAPBackend', 'django.contrib.auth.backends.ModelBackend', ]

Then there is a need to Set ldap settings in settings.py (e.g. with .env file or within docker-compose) and it is working (https://pypi.org/project/django-auth-ldap/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants