OIDC Integration: Supports Authentik officially, other solutions currently untested. Social login not implemented

This commit is contained in:
boris committed 2026-03-30 13:38:18 +01:00
1 parent dfea7e869b
commit 68bbb53976
28 files changed
+2365 -751

No files matched your search

+6
View File
@@ -24,6 +24,12 @@ class UserAdmin(BaseUserAdmin, ModelAdmin):
compressed_fields = True
warn_unsaved_form = True
def get_readonly_fields(self, request, obj=None):
readonly = list(super().get_readonly_fields(request, obj))
if obj:
readonly.extend(["email"])
return tuple(dict.fromkeys(readonly))
@admin.register(Group)
class GroupAdmin(BaseGroupAdmin, ModelAdmin):