diff --git a/authentik/core/models.py b/authentik/core/models.py index d806be2e2..24b3687f5 100644 --- a/authentik/core/models.py +++ b/authentik/core/models.py @@ -285,11 +285,6 @@ class Source(SerializerModel, PolicyBindingModel): button. If source doesn't use http-based flow, return None.""" return None - @property - def ui_additional_info(self) -> Optional[str]: - """Return additional Info, such as a callback URL. Show in the administration interface.""" - return None - @property def ui_user_settings(self) -> Optional[str]: """Entrypoint to integrate with User settings. Can either return None if no diff --git a/authentik/sources/saml/models.py b/authentik/sources/saml/models.py index 64fc897e8..baebb9336 100644 --- a/authentik/sources/saml/models.py +++ b/authentik/sources/saml/models.py @@ -4,7 +4,7 @@ from typing import Type from django.db import models from django.forms import ModelForm from django.http import HttpRequest -from django.urls import reverse, reverse_lazy +from django.urls import reverse from django.utils.translation import gettext_lazy as _ from rest_framework.serializers import Serializer @@ -170,13 +170,6 @@ class SAMLSource(Source): ), ) - @property - def ui_additional_info(self) -> str: - metadata_url = reverse_lazy( - "authentik_sources_saml:metadata", kwargs={"source_slug": self.slug} - ) - return f'Metadata Download' - def __str__(self): return f"SAML Source {self.name}"