{{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin edit authentication")}}

{{ctx.Locale.Tr "admin.auths.edit"}}

{{template "base/disable_form_autofill"}} {{.CsrfTokenHtml}}
{{.Source.TypeName}}
{{if or .Source.IsLDAP .Source.IsDLDAP}} {{$cfg:=.Source.Cfg}}
{{if .Source.IsLDAP}}
{{end}}
{{if .Source.IsDLDAP}}
{{end}}

{{ctx.Locale.Tr "admin.auths.restricted_filter_helper"}}

{{if .Source.IsLDAP}}
{{end}}

{{ctx.Locale.Tr "admin.auths.skip_local_two_fa_helper"}}

{{end}} {{if .Source.IsSMTP}} {{$cfg:=.Source.Cfg}}

{{ctx.Locale.Tr "admin.auths.force_smtps_helper"}}

{{ctx.Locale.Tr "admin.auths.helo_hostname_helper"}}

{{ctx.Locale.Tr "admin.auths.allowed_domains_helper"}}

{{ctx.Locale.Tr "admin.auths.skip_local_two_fa_helper"}}

{{end}} {{if .Source.IsPAM}} {{$cfg:=.Source.Cfg}}

{{ctx.Locale.Tr "admin.auths.skip_local_two_fa_helper"}}

{{end}} {{if .Source.IsOAuth2}} {{$cfg:=.Source.Cfg}}

{{ctx.Locale.Tr "admin.auths.skip_local_two_fa_helper"}}

{{range .OAuth2Providers}}{{if .CustomURLSettings}} {{end}}{{end}}

{{ctx.Locale.Tr "admin.auths.oauth2_required_claim_name_helper"}}

{{ctx.Locale.Tr "admin.auths.oauth2_required_claim_value_helper"}}

{{end}} {{if .Source.IsSAML}} {{$cfg:=.Source.Cfg}}
{{end}} {{if .Source.IsSSPI}} {{$cfg:=.Source.Cfg}}

{{ctx.Locale.Tr "admin.auths.sspi_auto_create_users_helper"}}

{{ctx.Locale.Tr "admin.auths.sspi_auto_activate_users_helper"}}

{{ctx.Locale.Tr "admin.auths.sspi_strip_domain_names_helper"}}

{{ctx.Locale.Tr "admin.auths.sspi_separator_replacement_helper"}}

{{ctx.Locale.Tr "admin.auths.sspi_default_language_helper"}}

{{end}} {{if .Source.IsLDAP}}
{{end}}

{{ctx.Locale.Tr "admin.auths.tips"}}

GMail Settings:

Host: smtp.gmail.com, Port: 587, Enable TLS Encryption: true

SAML Settings:

{{ctx.Locale.Tr "admin.auths.tips.saml"}}

{{ctx.Locale.Tr "admin.auths.tips.oauth2.general"}}:

{{ctx.Locale.Tr "admin.auths.tips.oauth2.general.tip"}}

{{template "admin/layout_footer" .}}