OpenEnergyPlatform / oeplatform

Repository for the code of the Open Energy Platform (OEP) website. The OEP provides an interface to the Open Energy Family
http://openenergyplatform.org/
GNU Affero General Public License v3.0
62 stars 19 forks source link

Implement django-allauth #1895

Open jh-RLI opened 2 weeks ago

jh-RLI commented 2 weeks ago

Description of the issue

We want to implement #1363 for that we need a more sophisticated login approach that offers openid connect based user authentication. The package django-allauth offers this out of the box.

Ideas of solution

Install https://docs.allauth.org/en/latest/ Check if the new login system can be merged with the django allauth backend.

Workflow checklist

jh-RLI commented 2 weeks ago

Maybe django axes need to be configured https://django-axes.readthedocs.io/en/latest/6_integration.html

jh-RLI commented 2 weeks ago

We consider to first update django to a more recent version. This PR offers the relevant changes to migrate to django 5 but it requires more testing.

https://github.com/OpenEnergyPlatform/oeplatform/pull/1884