On Thu, Jul 25, 2019, at 12:36 PM, Marvin Gülker wrote:
Hi,
inspired by the question about LDAP, I want to ask a related question. We're currently thinking about adding a wiki to our small OSS project, and requiring users to have multiple accounts for the same project is nonsense. We don't have LDAP set up yet, but we do have a running Mailman 3 installation, including Hyperkitty. Thus I thought about whether it's possible to just write some glue script that authenticates against the user information in Hyperkitty's database. Creating an account for Hyperkitty would then be sufficient to get access to the wiki.
Could someone give me a hint where and in what format Hyperkitty stores the user information into its database?
So, Hyperkitty itself doesn't concern with authentication and it is handled by django-allauth, which itself hooks into the higher level authentication API provided by Django.
Django allows for pluggable Authentication backends, that it can use to authenticate requests. You can read more about it here1. We use Django-allauth as an authentication backend.
You can use the higher level django.contrib.auth.authenticate()
2 function
with right values in a Python script running in the same virtualenv to
authenticate the user to your wiki.
Marvin
-- Blog: https://mg.guelker.eu
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)