Thanks Stephen,
With support to dip in on how to do this, I would hope it is the start of a series of contributions to the platform :-)
My starting point these days is asking chatGPT how to add the functionality. The response looks convincing but often has some glaring errors in it...but at least it helps me narrow down where I start and give me an idea of the steps/complexity of the task.
I'll jump over to the developers list when I start this (I'm about to travel for a week to run an annual event in Oxford - so the far removed from programming)...but which chatGPT suggested so far was
- Extending postorius/signups.html with a loop to get the configured social login providers PLUS adding a csrf_token field to the form
- Modifying postorius/views.py (which doesn't seem to exist but there is a postorius/views folder) - so perhaps this is views/urls.py
So with dev community support and chatGPT support I should be able to muddle through it!
Probably as practice I'll convert a recent simple Flask app I built into django to get familiar with Django as a framework before I dip into postorius & hyperkitty
Cheers,
Duane
On Wed, 15 Mar 2023 at 08:26, Stephen J. Turnbull < turnbull.stephen.fw@u.tsukuba.ac.jp> wrote:
Duane Raymond writes:
I'll dip into the code in the next weeks and see if I can figure out how to add it (using the example of the login page)
Welcome to the team! :-D
I doubt you need any Python code; I think you just need to add buttons in HTML in the page template, and an explanation of where the user will end up (probably not where they expect ;-). I forget how this works, but you might even be able to ensure a redirect to where they expect to go in pure Django templating language. If not, it will likely need a straightforward one-line change to the view.
If all that makes sense to you, great! If not, feel free to ask questions, here, or perhaps more appropriately on mailman-developers@python.org.
Steve