From 5a68e6a9d22133e7671ff62e3bdba1e33e8db504 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 13 Jan 2024 15:42:52 +0100 Subject: [PATCH] remmove endpoint fetch from both rac provider forms since its not used Signed-off-by: Jens Langhammer --- .../rac/ak-application-wizard-authentication-for-rac.ts | 9 --------- web/src/admin/providers/ProviderWizard.ts | 2 +- web/src/admin/providers/rac/RACProviderForm.ts | 5 ----- 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/web/src/admin/applications/wizard/methods/rac/ak-application-wizard-authentication-for-rac.ts b/web/src/admin/applications/wizard/methods/rac/ak-application-wizard-authentication-for-rac.ts index a4fb8c00b..0369a6b52 100644 --- a/web/src/admin/applications/wizard/methods/rac/ak-application-wizard-authentication-for-rac.ts +++ b/web/src/admin/applications/wizard/methods/rac/ak-application-wizard-authentication-for-rac.ts @@ -14,28 +14,20 @@ import { ifDefined } from "lit/directives/if-defined.js"; import { FlowsInstancesListDesignationEnum, - PaginatedEndpointList, PaginatedRACPropertyMappingList, PropertymappingsApi, RACProvider, - RacApi, } from "@goauthentik/api"; import BaseProviderPanel from "../BaseProviderPanel"; @customElement("ak-application-wizard-authentication-for-rac") export class ApplicationWizardAuthenticationByRAC extends BaseProviderPanel { - @state() - endpoints?: PaginatedEndpointList; - @state() propertyMappings?: PaginatedRACPropertyMappingList; constructor() { super(); - new RacApi(DEFAULT_CONFIG).racEndpointsList({}).then((endpoints) => { - this.endpoints = endpoints; - }); new PropertymappingsApi(DEFAULT_CONFIG) .propertymappingsRacList({ ordering: "name", @@ -85,7 +77,6 @@ export class ApplicationWizardAuthenticationByRAC extends BaseProviderPanel { help=${msg( "Determines how long a session lasts before being disconnected and requiring re-authorization.", )} - required > diff --git a/web/src/admin/providers/ProviderWizard.ts b/web/src/admin/providers/ProviderWizard.ts index 88ab8da8b..ca80f995e 100644 --- a/web/src/admin/providers/ProviderWizard.ts +++ b/web/src/admin/providers/ProviderWizard.ts @@ -53,7 +53,7 @@ export class InitialProviderWizardPage extends WithLicenseSummary(WizardPage) {
${msg("Try the new application wizard")}
${msg( - "The new application wizard greatly simplifies the steps required to create applications and providers." + "The new application wizard greatly simplifies the steps required to create applications and providers.", )}