[Mailman-Users] Re: Mailman 3 Issue - Unable to Authenticate with Mailman Core REST API

2023-11-27 Thread Patricia Traore
My bad, yes I meant Postorius.

I did restart the configuration following Odhiambo's guide and it worked like a 
charm.
For now, I keep my head up.

Thanks Marks.

Patricia T.
Flexing codes with https://maniflexa.com/services/uganda-web-design-company/.
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@jab.org


[Mailman-Users] Re: Mailman 3 Issue - Unable to Authenticate with Mailman Core REST API

2023-11-26 Thread Mark Sapiro

On 11/26/23 07:45, Patricia Traore wrote:


Description of the issue:
→ Mailman core REST API Configuration: in the Django settings.py file, I have 
set the MAILMAN_REST_API_URL to the correct URL of the Core's REST API server 
(http://localhost:8001/). Additionally, I have specified the 
MAILMAN_REST_API_USER and MAILMAN_REST_API_PASS with the appropriate 
credentials (default values used in the core are 'restadmin' and 'restpass').
→ Authentication failure: despite the correct configuration of the REST API 
settings, when attempting to interact with the Mailman Core REST API through 
Hyperkitty, authentication fails. Depicting that authentication credentials are 
invalid.


I assume the same is true of Postorius or possibly you mean Postorius 
rather than HyperKitty, since most interaction via REST is with Postorius.




→ MAILMAN_ARCHIVER_KEY configuration: I have also configured the 
MAILMAN_ARCHIVER_KEY in the Django settings.py file, ensuring that it matches 
the value set in the mailman-hyperkitty.cfg file as per the documentation.


This affects Mailman core's interaction with HyperKitty to determine the 
URL for a message to be archived and to archive the message. It has 
nothing to do with REST API authentication.



Let me know if additional information or specific configurations are needed. 
Thanks in advance for your support!

What's in logs?, both mailman.log and django's log?

--
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@jab.org