web/admin: fix misc dual select on different forms (#11203)
* fix prompt stage Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix identification stage Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix OAuth JWKS sources Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix oauth provider default scopes Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix outpost form Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix webauthn Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix transport form Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		| @ -1,12 +1,14 @@ | ||||
| import "@goauthentik/admin/common/ak-crypto-certificate-search"; | ||||
| import "@goauthentik/admin/common/ak-flow-search/ak-flow-search"; | ||||
| import { BaseProviderForm } from "@goauthentik/admin/providers/BaseProviderForm"; | ||||
| import { oauth2SourcesProvider } from "@goauthentik/admin/providers/oauth2/OAuth2Sources.js"; | ||||
| import { | ||||
|     makeSourceSelector, | ||||
|     oauth2SourcesProvider, | ||||
| } from "@goauthentik/admin/providers/oauth2/OAuth2Sources.js"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { first } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/components/ak-toggle-group"; | ||||
| import "@goauthentik/elements/ak-dual-select/ak-dual-select-dynamic-selected-provider.js"; | ||||
| import "@goauthentik/elements/ak-dual-select/ak-dual-select-provider.js"; | ||||
| import "@goauthentik/elements/forms/FormGroup"; | ||||
| import "@goauthentik/elements/forms/HorizontalFormElement"; | ||||
| import "@goauthentik/elements/forms/SearchSelect"; | ||||
| @ -403,12 +405,12 @@ ${this.instance?.skipPathRegex}</textarea | ||||
|                         label=${msg("Trusted OIDC Sources")} | ||||
|                         name="jwksSources" | ||||
|                     > | ||||
|                         <ak-dual-select-provider | ||||
|                         <ak-dual-select-dynamic-selected | ||||
|                             .provider=${oauth2SourcesProvider} | ||||
|                             .selected=${this.instance?.jwksSources} | ||||
|                             .selector=${makeSourceSelector(this.instance?.jwksSources)} | ||||
|                             available-label=${msg("Available Sources")} | ||||
|                             selected-label=${msg("Selected Sources")} | ||||
|                         ></ak-dual-select-provider> | ||||
|                         ></ak-dual-select-dynamic-selected> | ||||
|                         <p class="pf-c-form__helper-text"> | ||||
|                             ${msg( | ||||
|                                 "JWTs signed by certificates configured in the selected sources can be used to authenticate to this provider.", | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens L.
					Jens L.