- ${t`Select a provider that this application should use. Alternatively, create a new provider.`} + ${t`Select a provider that this application should use.`}
-${t`If checked, the launch URL will open in a new browser tab or window from the user's application library.`}
@@ -218,20 +215,28 @@ export class ApplicationForm extends ModelForm${t`Delete currently set icon.`}
diff --git a/web/src/admin/blueprints/BlueprintForm.ts b/web/src/admin/blueprints/BlueprintForm.ts index 0836eb09b..21508d623 100644 --- a/web/src/admin/blueprints/BlueprintForm.ts +++ b/web/src/admin/blueprints/BlueprintForm.ts @@ -87,14 +87,19 @@ export class BlueprintForm extends ModelForm${t`Disabled blueprints are never applied.`}
${t`Only send notification once, for example when sending a webhook into a chat channel.`}
diff --git a/web/src/admin/flows/FlowForm.ts b/web/src/admin/flows/FlowForm.ts index 59ac8619f..bde594d61 100644 --- a/web/src/admin/flows/FlowForm.ts +++ b/web/src/admin/flows/FlowForm.ts @@ -205,14 +205,19 @@ export class FlowForm extends ModelForm${t`Increases compatibility with password managers and mobile devices.`}
@@ -333,20 +338,28 @@ export class FlowForm extends ModelForm${t`Delete currently set background image.`}
diff --git a/web/src/admin/flows/StageBindingForm.ts b/web/src/admin/flows/StageBindingForm.ts index a41248cb0..b34208462 100644 --- a/web/src/admin/flows/StageBindingForm.ts +++ b/web/src/admin/flows/StageBindingForm.ts @@ -8,7 +8,7 @@ import "@goauthentik/elements/forms/SearchSelect"; import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators.js"; +import { customElement, property, state } from "lit/decorators.js"; import { ifDefined } from "lit/directives/if-defined.js"; import { until } from "lit/directives/until.js"; @@ -24,15 +24,20 @@ import { @customElement("ak-stage-binding-form") export class StageBindingForm extends ModelForm${t`Evaluate policies during the Flow planning process. Disable this for input-based policies. Should be used in conjunction with 'Re-evaluate policies', as with both options disabled, policies are **not** evaluated.`}
${t`Evaluate policies before the Stage is present to the user.`}
diff --git a/web/src/admin/groups/GroupForm.ts b/web/src/admin/groups/GroupForm.ts index 208042e29..84fcc8b21 100644 --- a/web/src/admin/groups/GroupForm.ts +++ b/web/src/admin/groups/GroupForm.ts @@ -71,14 +71,19 @@ export class GroupForm extends ModelForm${t`Users added to this group will be superusers.`}
diff --git a/web/src/admin/outposts/OutpostForm.ts b/web/src/admin/outposts/OutpostForm.ts index 3af777f86..0a3547468 100644 --- a/web/src/admin/outposts/OutpostForm.ts +++ b/web/src/admin/outposts/OutpostForm.ts @@ -1,21 +1,21 @@ import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; import { docLink } from "@goauthentik/common/global"; -import { groupBy } from "@goauthentik/common/utils"; +import { first, groupBy } from "@goauthentik/common/utils"; import "@goauthentik/elements/CodeMirror"; import "@goauthentik/elements/forms/HorizontalFormElement"; import { ModelForm } from "@goauthentik/elements/forms/ModelForm"; import "@goauthentik/elements/forms/SearchSelect"; -import YAML from "yaml"; import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators.js"; +import { customElement, property, state } from "lit/decorators.js"; import { ifDefined } from "lit/directives/if-defined.js"; import { until } from "lit/directives/until.js"; import { Outpost, + OutpostDefaultConfig, OutpostTypeEnum, OutpostsApi, OutpostsServiceConnectionsAllListRequest, @@ -31,17 +31,20 @@ export class OutpostForm extends ModelForm
${t`Set custom attributes using YAML or JSON.`}
diff --git a/web/src/admin/outposts/ServiceConnectionDockerForm.ts b/web/src/admin/outposts/ServiceConnectionDockerForm.ts
index b09c5a5a8..0a023c58c 100644
--- a/web/src/admin/outposts/ServiceConnectionDockerForm.ts
+++ b/web/src/admin/outposts/ServiceConnectionDockerForm.ts
@@ -58,14 +58,19 @@ export class ServiceConnectionDockerForm extends ModelForm
${t`If enabled, use the local connection. Required Docker socket/Kubernetes Integration.`}
diff --git a/web/src/admin/outposts/ServiceConnectionKubernetesForm.ts b/web/src/admin/outposts/ServiceConnectionKubernetesForm.ts index d718815a7..60063f546 100644 --- a/web/src/admin/outposts/ServiceConnectionKubernetesForm.ts +++ b/web/src/admin/outposts/ServiceConnectionKubernetesForm.ts @@ -56,14 +56,19 @@ export class ServiceConnectionKubernetesForm extends ModelForm< />${t`If enabled, use the local connection. Required Docker socket/Kubernetes Integration.`}
@@ -79,16 +84,21 @@ export class ServiceConnectionKubernetesForm extends ModelForm<${t`Negates the outcome of the binding. Messages are unaffected.`}
${t`When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.`}
@@ -71,14 +76,19 @@ export class DummyPolicyForm extends ModelForm${t`When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.`}
diff --git a/web/src/admin/policies/expiry/ExpiryPolicyForm.ts b/web/src/admin/policies/expiry/ExpiryPolicyForm.ts index 440d1a4e7..6a39d04d6 100644 --- a/web/src/admin/policies/expiry/ExpiryPolicyForm.ts +++ b/web/src/admin/policies/expiry/ExpiryPolicyForm.ts @@ -55,14 +55,19 @@ export class PasswordExpiryPolicyForm extends ModelForm${t`When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.`}
@@ -83,16 +88,21 @@ export class PasswordExpiryPolicyForm extends ModelForm${t`When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.`}
diff --git a/web/src/admin/policies/password/PasswordPolicyForm.ts b/web/src/admin/policies/password/PasswordPolicyForm.ts index 3b12ad79b..1d7ed8d8c 100644 --- a/web/src/admin/policies/password/PasswordPolicyForm.ts +++ b/web/src/admin/policies/password/PasswordPolicyForm.ts @@ -233,14 +233,19 @@ export class PasswordPolicyForm extends ModelForm${t`When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.`}
@@ -262,32 +267,42 @@ export class PasswordPolicyForm extends ModelForm${t`For more info see:`} {
${t`Password strength estimator created by Dropbox, see:`}
dropbox/zxcvbn
diff --git a/web/src/admin/policies/reputation/ReputationPolicyForm.ts b/web/src/admin/policies/reputation/ReputationPolicyForm.ts
index eea94a185..6b393255f 100644
--- a/web/src/admin/policies/reputation/ReputationPolicyForm.ts
+++ b/web/src/admin/policies/reputation/ReputationPolicyForm.ts
@@ -64,14 +64,19 @@ export class ReputationPolicyForm extends ModelForm
${t`When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.`}
@@ -80,24 +85,34 @@ export class ReputationPolicyForm extends ModelForm${t`Include User claims from scopes in the id_token, for applications that don't access the userinfo endpoint.`}
diff --git a/web/src/admin/providers/proxy/ProxyProviderForm.ts b/web/src/admin/providers/proxy/ProxyProviderForm.ts index 250e8dbba..62b3457dc 100644 --- a/web/src/admin/providers/proxy/ProxyProviderForm.ts +++ b/web/src/admin/providers/proxy/ProxyProviderForm.ts @@ -204,16 +204,21 @@ export class ProxyProviderFormPage extends ModelForm${t`Validate SSL Certificates of upstream servers.`}
@@ -437,20 +442,25 @@ ${this.instance?.skipPathRegex}${t`Set a custom HTTP-Basic Authentication header based on values from authentik.`}
diff --git a/web/src/admin/sources/ldap/LDAPSourceForm.ts b/web/src/admin/sources/ldap/LDAPSourceForm.ts index 04f38f204..bffe60f9b 100644 --- a/web/src/admin/sources/ldap/LDAPSourceForm.ts +++ b/web/src/admin/sources/ldap/LDAPSourceForm.ts @@ -73,47 +73,67 @@ export class LDAPSourceForm extends ModelForm${t`Login password is synced from LDAP into authentik automatically. Enable this option only to write password changes in authentik back to LDAP.`}
${t`To use SSL instead, use 'ldaps://' and disable this option.`}
diff --git a/web/src/admin/sources/oauth/OAuthSourceForm.ts b/web/src/admin/sources/oauth/OAuthSourceForm.ts index 03a601850..06f681b83 100644 --- a/web/src/admin/sources/oauth/OAuthSourceForm.ts +++ b/web/src/admin/sources/oauth/OAuthSourceForm.ts @@ -244,14 +244,19 @@ export class OAuthSourceForm extends ModelForm${t`Delete currently set icon.`}
diff --git a/web/src/admin/sources/plex/PlexSourceForm.ts b/web/src/admin/sources/plex/PlexSourceForm.ts index cc393aa22..7f5d67e93 100644 --- a/web/src/admin/sources/plex/PlexSourceForm.ts +++ b/web/src/admin/sources/plex/PlexSourceForm.ts @@ -135,16 +135,21 @@ export class PlexSourceForm extends ModelForm${t`Delete currently set icon.`}
diff --git a/web/src/admin/sources/saml/SAMLSourceForm.ts b/web/src/admin/sources/saml/SAMLSourceForm.ts index 37126f062..e48359deb 100644 --- a/web/src/admin/sources/saml/SAMLSourceForm.ts +++ b/web/src/admin/sources/saml/SAMLSourceForm.ts @@ -103,14 +103,19 @@ export class SAMLSourceForm extends ModelForm${t`Delete currently set icon.`}
@@ -304,16 +317,21 @@ export class SAMLSourceForm extends ModelForm${t`Allows authentication flows initiated by the IdP. This can be a security risk, as no validation of the request ID is done.`}
diff --git a/web/src/admin/stages/authenticator_sms/AuthenticatorSMSStageForm.ts b/web/src/admin/stages/authenticator_sms/AuthenticatorSMSStageForm.ts index fa5972b9d..9998b68ba 100644 --- a/web/src/admin/stages/authenticator_sms/AuthenticatorSMSStageForm.ts +++ b/web/src/admin/stages/authenticator_sms/AuthenticatorSMSStageForm.ts @@ -258,14 +258,19 @@ export class AuthenticatorSMSStageForm extends ModelForm${t`If enabled, only a hash of the phone number will be saved. This can be done for data-protection reasons. Devices created from a stage with this enabled cannot be used with the authenticator validation stage.`}
diff --git a/web/src/admin/stages/dummy/DummyStageForm.ts b/web/src/admin/stages/dummy/DummyStageForm.ts index 336cc0acf..329efbf28 100644 --- a/web/src/admin/stages/dummy/DummyStageForm.ts +++ b/web/src/admin/stages/dummy/DummyStageForm.ts @@ -54,14 +54,19 @@ export class DummyStageForm extends ModelForm${t`When a user returns from the email successfully, their account will be activated.`}
${t`When enabled, global Email connection settings will be used and connection settings below will be ignored.`}
diff --git a/web/src/admin/stages/identification/IdentificationStageForm.ts b/web/src/admin/stages/identification/IdentificationStageForm.ts index 7a66f3cbd..a85220b57 100644 --- a/web/src/admin/stages/identification/IdentificationStageForm.ts +++ b/web/src/admin/stages/identification/IdentificationStageForm.ts @@ -140,29 +140,37 @@ export class IdentificationStageForm extends ModelForm${t`When enabled, user fields are matched regardless of their casing.`}
${t`When a valid username/email has been entered, and this option is enabled, the user's username and avatar will be shown. Otherwise, the text that the user entered will be shown.`}
@@ -216,14 +224,19 @@ export class IdentificationStageForm extends ModelForm${t`By default, only icons are shown for sources. Enable this to show their full names.`}
diff --git a/web/src/admin/stages/invitation/InvitationForm.ts b/web/src/admin/stages/invitation/InvitationForm.ts index 2f2ec3925..f6ef169e2 100644 --- a/web/src/admin/stages/invitation/InvitationForm.ts +++ b/web/src/admin/stages/invitation/InvitationForm.ts @@ -117,14 +117,19 @@ export class InvitationForm extends ModelForm${t`When enabled, the invitation will be deleted after usage.`}
diff --git a/web/src/admin/stages/invitation/InvitationStageForm.ts b/web/src/admin/stages/invitation/InvitationStageForm.ts index 8b4212de2..a2267fdec 100644 --- a/web/src/admin/stages/invitation/InvitationStageForm.ts +++ b/web/src/admin/stages/invitation/InvitationStageForm.ts @@ -57,19 +57,24 @@ export class InvitationStageForm extends ModelForm${t`If this flag is set, this Stage will jump to the next Stage when no Invitation is given. By default this Stage will cancel the Flow when no invitation is given.`}
diff --git a/web/src/admin/stages/prompt/PromptForm.ts b/web/src/admin/stages/prompt/PromptForm.ts index 553b25bd0..8a9083dda 100644 --- a/web/src/admin/stages/prompt/PromptForm.ts +++ b/web/src/admin/stages/prompt/PromptForm.ts @@ -161,26 +161,36 @@ export class PromptForm extends ModelForm
${t`When checked, the placeholder will be evaluated in the same way environment as a property mapping.
If the evaluation failed, the placeholder itself is returned.`}
diff --git a/web/src/admin/stages/user_write/UserWriteStageForm.ts b/web/src/admin/stages/user_write/UserWriteStageForm.ts
index 0c580a253..24aa68276 100644
--- a/web/src/admin/stages/user_write/UserWriteStageForm.ts
+++ b/web/src/admin/stages/user_write/UserWriteStageForm.ts
@@ -86,16 +86,19 @@ export class UserWriteStageForm extends ModelForm
${t`Mark newly created users as inactive.`}
diff --git a/web/src/admin/tenants/TenantForm.ts b/web/src/admin/tenants/TenantForm.ts index 8217a569b..0b501927c 100644 --- a/web/src/admin/tenants/TenantForm.ts +++ b/web/src/admin/tenants/TenantForm.ts @@ -68,14 +68,19 @@ export class TenantForm extends ModelForm${t`Use this tenant for each domain that doesn't have a dedicated tenant.`}
diff --git a/web/src/admin/tokens/TokenForm.ts b/web/src/admin/tokens/TokenForm.ts index 9aeb2d513..89ff304b8 100644 --- a/web/src/admin/tokens/TokenForm.ts +++ b/web/src/admin/tokens/TokenForm.ts @@ -109,14 +109,19 @@ export class TokenForm extends ModelForm${t`If this is selected, the token will expire. Upon expiration, the token will be rotated.`}
diff --git a/web/src/admin/users/RelatedUserList.ts b/web/src/admin/users/RelatedUserList.ts index eeedfabf6..3778f241d 100644 --- a/web/src/admin/users/RelatedUserList.ts +++ b/web/src/admin/users/RelatedUserList.ts @@ -393,12 +393,10 @@ export class RelatedUserList extends Table${t`Enabling this toggle will create a group named after the user, with the user as member.`}
diff --git a/web/src/admin/users/UserForm.ts b/web/src/admin/users/UserForm.ts index 776af1e94..c158f5d60 100644 --- a/web/src/admin/users/UserForm.ts +++ b/web/src/admin/users/UserForm.ts @@ -93,14 +93,19 @@ export class UserForm extends ModelForm${t`Designates whether this user should be treated as active. Unselect this instead of deleting accounts.`}
diff --git a/web/src/common/styles/authentik.css b/web/src/common/styles/authentik.css index 6d183e930..3c4f141fd 100644 --- a/web/src/common/styles/authentik.css +++ b/web/src/common/styles/authentik.css @@ -265,6 +265,9 @@ html > form > input { .pf-c-form-control[readonly] { background-color: var(--ak-dark-background-light); } + .pf-c-switch__input:checked ~ .pf-c-switch__label { + --pf-c-switch__input--checked__label--Color: var(--ak-dark-foreground); + } /* select toggle */ .pf-c-select__toggle::before { --pf-c-select__toggle--before--BorderTopColor: var(--ak-dark-background-lighter); diff --git a/web/src/elements/TreeView.ts b/web/src/elements/TreeView.ts index 687ed2183..29456d981 100644 --- a/web/src/elements/TreeView.ts +++ b/web/src/elements/TreeView.ts @@ -197,7 +197,6 @@ export class TreeView extends AKElement { const rootItem = this.parse(this.items); return html`