diff --git a/authentik/providers/saml/views/metadata.py b/authentik/providers/saml/views/metadata.py index 7ba1b326d..fe50ca3f4 100644 --- a/authentik/providers/saml/views/metadata.py +++ b/authentik/providers/saml/views/metadata.py @@ -54,6 +54,7 @@ class MetadataImportView(LoginRequiredMixin, FormView): form_class = SAMLProviderImportForm template_name = "providers/saml/import.html" + success_url = "" def dispatch(self, request, *args, **kwargs): if not request.user.is_superuser: diff --git a/web/src/pages/providers/SAMLProviderViewPage.ts b/web/src/pages/providers/SAMLProviderViewPage.ts index 021f373d5..d9d446c9e 100644 --- a/web/src/pages/providers/SAMLProviderViewPage.ts +++ b/web/src/pages/providers/SAMLProviderViewPage.ts @@ -128,7 +128,7 @@ export class SAMLProviderViewPage extends Page { )}