import { docLink } from "@goauthentik/common/global"; import { ModalButton } from "@goauthentik/elements/buttons/ModalButton"; import "@goauthentik/elements/buttons/TokenCopyButton"; import { msg } from "@lit/localize"; import { TemplateResult, html } from "lit"; import { customElement, property } from "lit/decorators.js"; import { ifDefined } from "lit/directives/if-defined.js"; import { Outpost, OutpostTypeEnum } from "@goauthentik/api"; @customElement("ak-outpost-deployment-modal") export class OutpostDeploymentModal extends ModalButton { @property({ attribute: false }) outpost?: Outpost; renderModalInner(): TemplateResult { return html`

${msg("Outpost Deployment Info")}

${msg("View deployment documentation")}

${msg("Click to copy token")}

${msg( "If your authentik Instance is using a self-signed certificate, set this value.", )}

${this.outpost?.type == OutpostTypeEnum.Proxy ? html`

${msg( "If your authentik_host setting does not match the URL you want to login with, add this setting.", )}

` : html``}
`; } }