Implement OAUTH, SAML, Social Login #711
Replies: 7 comments 3 replies
-
|
That would be very nice! This way, it would be possible to have single sign-on with other applications. |
Beta Was this translation helpful? Give feedback.
-
|
The django-allauth link is deprecated. https://docs.allauth.org/en/latest/index.html is the current link to the documentation. |
Beta Was this translation helpful? Give feedback.
-
|
I feel like I'm really close on this. I've got ...but since it says Keycloak was removed in favor of generic OpenID Connect, I tried this based on the OIDC documentation: Neither of those results in the I have I also added Also, in my So even if I can't pre-populate "Social Account" login in the settings file, I hoped maybe I could add it through the GUI. So I can navigate to It then shows in the Even after all this, I don't see any option to log in with my "social provider" when I log out. So it may be that adding it via the GUI is working and I just can't get to the button to log in with Keycloak? I can't find any setting to activate/show that button. Also I see several discussions about this (#693 is one) so I hope somebody can give me that last nudge to get it working. |
Beta Was this translation helpful? Give feedback.
-
|
Wanted to post the last steps I had to use to get the login with socials button showing up. I added the following lines to This along with adding |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for sharing any details here, it's true that most of the providers require some work in settings + templates, so there can't be a global solution to fit all scenarios! for what is worth I'm currently working on a SAML integration with customizations on the attributes and mapping |
Beta Was this translation helpful? Give feedback.
-
|
SAML is supported through https://github.com/mediacms-io/mediacms/releases/tag/v5.0.0 now :) |
Beta Was this translation helpful? Give feedback.
-
|
I implemented oauth referring to suggestions from @dwolfe884 and @stp14. Please find it at #1257. I could however get this working from 4.6.0 instead of 5.0.0 because there are way too many features related to SAML auth which conflicted with this. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Django All-Auth already support a huge list of social providers.
https://django-allauth.readthedocs.io/en/latest/providers.html#keycloak
Make it possible to login via keycloak, google etc.
Beta Was this translation helpful? Give feedback.
All reactions