web/flows: fix plex login not opening new tab on mobile safari (#7050)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
962eb8da3c
commit
03287936e9
|
@ -11,6 +11,8 @@ import { WebsocketClient } from "@goauthentik/common/ws";
|
||||||
import { Interface } from "@goauthentik/elements/Base";
|
import { Interface } from "@goauthentik/elements/Base";
|
||||||
import "@goauthentik/elements/LoadingOverlay";
|
import "@goauthentik/elements/LoadingOverlay";
|
||||||
import "@goauthentik/elements/ak-locale-context";
|
import "@goauthentik/elements/ak-locale-context";
|
||||||
|
import "@goauthentik/flow/sources/apple/AppleLoginInit";
|
||||||
|
import "@goauthentik/flow/sources/plex/PlexLoginInit";
|
||||||
import "@goauthentik/flow/stages/FlowErrorStage";
|
import "@goauthentik/flow/stages/FlowErrorStage";
|
||||||
import "@goauthentik/flow/stages/RedirectStage";
|
import "@goauthentik/flow/stages/RedirectStage";
|
||||||
import { StageHost } from "@goauthentik/flow/stages/base";
|
import { StageHost } from "@goauthentik/flow/stages/base";
|
||||||
|
@ -353,13 +355,11 @@ export class FlowExecutor extends Interface implements StageHost {
|
||||||
></ak-stage-user-login>`;
|
></ak-stage-user-login>`;
|
||||||
// Sources
|
// Sources
|
||||||
case "ak-source-plex":
|
case "ak-source-plex":
|
||||||
await import("@goauthentik/flow/sources/plex/PlexLoginInit");
|
|
||||||
return html`<ak-flow-source-plex
|
return html`<ak-flow-source-plex
|
||||||
.host=${this as StageHost}
|
.host=${this as StageHost}
|
||||||
.challenge=${this.challenge}
|
.challenge=${this.challenge}
|
||||||
></ak-flow-source-plex>`;
|
></ak-flow-source-plex>`;
|
||||||
case "ak-source-oauth-apple":
|
case "ak-source-oauth-apple":
|
||||||
await import("@goauthentik/flow/sources/apple/AppleLoginInit");
|
|
||||||
return html`<ak-flow-source-oauth-apple
|
return html`<ak-flow-source-oauth-apple
|
||||||
.host=${this as StageHost}
|
.host=${this as StageHost}
|
||||||
.challenge=${this.challenge}
|
.challenge=${this.challenge}
|
||||||
|
|
Reference in a new issue