mailman-bundler-3.0b2 Login methods
Hi,
I have installed mailman-bundler-3.0b2. On the Postorius login page, by default there is the Google, persona and Yahoo authentication. I only want basic native application authentication, which I can't see in this page.
Tweaking the AUTHENTICATION_BACKENDS variable in development.py, I could disable the Google and Yahoo authentication and 'django.contrib.auth.backends.ModelBackend' seemingly corresponds to the persona authentication.
AUTHENTICATION_BACKENDS = ( #'social_auth.backends.google.GoogleBackend', #'social_auth.backends.yahoo.YahooBackend', #'social_auth.backends.OpenIDBackend', 'django.contrib.auth.backends.ModelBackend', )
So the question does Postorius/Hyperkitty support basic authentication at all? How can I enable it?
Cheers
I can't even get persona working. After login with persona the system just behaves like it has not logged it. Please help!
On 11/06/2014 10:36 PM, Vijay Tico wrote:
Hi,
I have installed mailman-bundler-3.0b2. On the Postorius login page, by default there is the Google, persona and Yahoo authentication. I only want basic native application authentication, which I can't see in this page.
Tweaking the AUTHENTICATION_BACKENDS variable in development.py, I could disable the Google and Yahoo authentication and 'django.contrib.auth.backends.ModelBackend' seemingly corresponds to the persona authentication.
AUTHENTICATION_BACKENDS = ( #'social_auth.backends.google.GoogleBackend', #'social_auth.backends.yahoo.YahooBackend', #'social_auth.backends.OpenIDBackend', 'django.contrib.auth.backends.ModelBackend', )
So the question does Postorius/Hyperkitty support basic authentication at all? How can I enable it?
Cheers
Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/vtico%40yandex.co...
Security Policy: http://wiki.list.org/x/QIA9
Is this issue resolved in the newer versions, or is this just a matter of misconfiguration?
On 11/07/2014 06:33 AM, Vijay Tico wrote:
I can't even get persona working. After login with persona the system just behaves like it has not logged it. Please help!
On 11/06/2014 10:36 PM, Vijay Tico wrote:
Hi,
I have installed mailman-bundler-3.0b2. On the Postorius login page, by default there is the Google, persona and Yahoo authentication. I only want basic native application authentication, which I can't see in this page.
Tweaking the AUTHENTICATION_BACKENDS variable in development.py, I could disable the Google and Yahoo authentication and 'django.contrib.auth.backends.ModelBackend' seemingly corresponds to the persona authentication.
AUTHENTICATION_BACKENDS = ( #'social_auth.backends.google.GoogleBackend', #'social_auth.backends.yahoo.YahooBackend', #'social_auth.backends.OpenIDBackend', 'django.contrib.auth.backends.ModelBackend', )
So the question does Postorius/Hyperkitty support basic authentication at all? How can I enable it?
Cheers
Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/vtico%40yandex.co...
Security Policy: http://wiki.list.org/x/QIA9
Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/vtico%40yandex.co...
Security Policy: http://wiki.list.org/x/QIA9
Vijay Tico writes:
Is this issue resolved in the newer versions, or is this just a matter of misconfiguration?
Well, that's kinda hard to tell since we don't know what you've configured how.
There's a good chance that it's a problem in the Mailman system since this is all quite young, but without knowing exactly what you've done it's hard to diagnose.
I would suggest getting hold of terri or florianf (Postorius developers) or abompard (I pretty sure he's HyperKitty dev) on Freenode IRC #mailman channel, and having them walk you through the process. That should convince them of a bug if there is one (or maybe it's just hard to understand docs, but that should be fixed too).
Sorry, is this the right place to ask this question? Two days is passing and no answer yet.
Bests
On 11/07/2014 11:53 PM, Vijay Tico wrote:
Is this issue resolved in the newer versions, or is this just a matter of misconfiguration?
On 11/07/2014 06:33 AM, Vijay Tico wrote:
I can't even get persona working. After login with persona the system just behaves like it has not logged it. Please help!
On 11/06/2014 10:36 PM, Vijay Tico wrote:
Hi,
I have installed mailman-bundler-3.0b2. On the Postorius login page, by default there is the Google, persona and Yahoo authentication. I only want basic native application authentication, which I can't see in this page.
Tweaking the AUTHENTICATION_BACKENDS variable in development.py, I could disable the Google and Yahoo authentication and 'django.contrib.auth.backends.ModelBackend' seemingly corresponds to the persona authentication.
AUTHENTICATION_BACKENDS = ( #'social_auth.backends.google.GoogleBackend', #'social_auth.backends.yahoo.YahooBackend', #'social_auth.backends.OpenIDBackend', 'django.contrib.auth.backends.ModelBackend', )
So the question does Postorius/Hyperkitty support basic authentication at all? How can I enable it?
Cheers
Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/vtico%40yandex.co...
Security Policy: http://wiki.list.org/x/QIA9
Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/vtico%40yandex.co...
Security Policy: http://wiki.list.org/x/QIA9
Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/vtico%40yandex.co...
Security Policy: http://wiki.list.org/x/QIA9
On 11/08/2014 08:16 AM, Vijay Tico wrote:
Sorry, is this the right place to ask this question? Two days is passing and no answer yet.
Yes, this is the right place. I am unable to answer your questions, and apparently those who are are otherwise occupied at the moment. Two days is not a long time.
If you are impatient, you can try the #mailman irc channel on freenode.net.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi Vijay,
On 11/07/2014 04:03 AM, Vijay Tico wrote:
I can't even get persona working. After login with persona the system just behaves like it has not logged it. Please help!
A couple of questions to get a little closer to what exactly went wrong:
Does "After login with persona" mean, that the persona login process itself (new browser window/tab) went OK and without any errors?
Did the new browser window/tab close itself after you completed the persona login? Did you notice any errors (in the browser console for instance) during the process?
Did the mailman login page reload after the persona window/tab was closed, and if so, did it redirect you correctly to the '/archives/' url?
Florian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEcBAEBAgAGBQJUXkxfAAoJEEceGbPdavl7sewIAKCb7gDhLvvFGdgIczr6gvC6 2m44plaI8V6tNq0pUPDLqYJHBInsGRxNpyKtsMjlYXF3/cW97PHfm8l5Ep4v5UKJ sQFbV2/Rp2thSWt0dN56QaOme1zqAUMMigrxBbKkxCVvfooGT4ciO1IotHrxkAPk x1c0d6pWckMhkLNz+KxwBVPhLcmV3uWb/W1f160bNNXn0V65/KPKweiAQfdmVcBV b2/+Cqulkfoe7hTY3SLrEpzlGhdouVHS8OiVR2jnrYK1XBOVtN+eNqQUVtm27UGv YUExS8zhQHHepEreXanZPG4pQPk9NBC7QYC8Ih7SI0ndPct4Wld6sWLohT3364E= =v5oe -----END PGP SIGNATURE-----
Hi,
On 11/08/2014 08:31 PM, Florian Fuchs wrote:
Hi Vijay,
On 11/07/2014 04:03 AM, Vijay Tico wrote:
I can't even get persona working. After login with persona the system just behaves like it has not logged it. Please help!
A couple of questions to get a little closer to what exactly went wrong:
Does "After login with persona" mean, that the persona login process itself (new browser window/tab) went OK and without any errors?
The persona login seems to be OK, at least no error occurs.
Did the new browser window/tab close itself after you completed the persona login? Did you notice any errors (in the browser console for instance) during the process?
Yes it closed itself. No errors appear in the console.
Did the mailman login page reload after the persona window/tab was closed, and if so, did it redirect you correctly to the '/archives/' url?
Yes it reloaded to '/archives/' correctly. But the new page seems NOT logged in. The Login button is still there, and the administrative options don't appear.
Florian
Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/vtico%40yandex.co...
Security Policy: http://wiki.list.org/x/QIA9
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 11/08/2014 07:50 PM, Vijay Tico wrote:
Yes it reloaded to '/archives/' correctly. But the new page seems NOT logged in. The Login button is still there, and the administrative options don't appear.
mailman-bundler redirects to the '/archives/' index page (hyperkitty) by default after login, but that can be changed[1]. The admin options can be found under '/mailman3/'. What happens if you access that URL? Can you see the admin options and -- hopefully -- a 'logout' link?
Anyway, even if that works, it's still strange that you see the login button in the archives header after the persona dance is done...
Also, we should definitely make it easier to hop from the archives to the admin pages and vice versa.
Florian
[1] Change the LOGIN_REDIRECT_URL to 'mailman3' in mailman_web/development.py or mailman_web/production.py if you want the login to redirect to the admin pages (postorius).
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEcBAEBAgAGBQJUX8noAAoJEEceGbPdavl7xL0H+gOwCHtgk65DUYmhOJKLIR3y hOUW3UHc8BJhzCBmCRunz7pLCC1LQWn6q5k22PHiCGavz9zwFW7E2mlkXr+tPE22 pBbtEP/62DkZgGFAzekRoP0JyHvqXSoae29kwX23ZEBTv6/+bvLy/voOEn+e2EUo 44xSS0LOKvsLjOp4imtSXtvFN6hir7iSlhN9ki5Mrtm30tg/1F/KIYTMl0tkExui SPcun+50+Z8KLtxOzah99MbOnNSYC7ViV5ROiThlQkPIbYR4QsqxagAHOQ8k3a8B 6Dz+sS65HB2IxztidbEjR0FOFPXW+wBxBIcGKtucB5+8fxdBQ4s+CpFrAlQP8hs= =OXnz -----END PGP SIGNATURE-----
Hey!
Indeed I'm the HyperKitty dev, and I wrote mailman-bundler too. Sorry I couldn't reply earlier.
Yes it reloaded to '/archives/' correctly. But the new page seems
NOT logged in. The Login button is still there, and the administrative options don't appear.
Please check your webserver logs for any 500 error. Also please check that you have setup the BROWSERID_AUDIENCES variable in the configuration file (there is a link in a comment right above the variable with instructions on how to configure it).
Also, we should definitely make it easier to hop from the archives to
the admin pages and vice versa.
There should be a link to Postorious in the top menu bar in HyperKitty now.
Aurélien
participants (5)
-
Aurelien Bompard
-
Florian Fuchs
-
Mark Sapiro
-
Stephen J. Turnbull
-
Vijay Tico