Closed makerduck closed 1 month ago
After more testing turns out mediacms is currently build with an older version of allauth and does not support openid connect. Couldn't figure out how to update allauth on my own. So at the moment its not easily possible to integrate any external authentification.
Describe the issue I tried to add a social login with django allauth more precisely a socialaccount with openid_connect as the provider. Authentik is my IdP and I successfully setup up a social login in another django based service (Tandoor). My understanding is that mediacms already uses allauth so it should be fairly straight forward to add a social login. (As found in #192)
To Reproduce Steps to reproduce the issue:
Expected behavior Loginpage should have a extra button for the external authentication over openidconnect as the provider is "hardcoded". Even if the initial socialaccount_provider setup failed there should be a dropdown menu in the django administration panel under "Social Applications" -> "Add social application" -> "Provider" with the option to use the enabled openidconnect.
Screenshots How the "Add social application" provider section should look like:![grafik](https://github.com/mediacms-io/mediacms/assets/66616338/c7924214-23ee-40d4-b136-4d9812de97d2)
Environment (please complete the following information):
Additional context As read in #711 I'm not so sure anymore if this should work at all? Has anyone successfully used allauth with external authentication with mediacms or has any idea for what I'm doing wrong or should look into to get this working?
Thanks a lot!