diff --git a/web/src/flows/FlowExecutor.ts b/web/src/flows/FlowExecutor.ts index 5e397f922..ac991d3cd 100644 --- a/web/src/flows/FlowExecutor.ts +++ b/web/src/flows/FlowExecutor.ts @@ -172,7 +172,7 @@ export class FlowExecutor extends LitElement implements StageHost { if (!this.challenge) { return html``; } - switch (this.challenge.type) { + switch (this.challenge.type.toUpperCase()) { case ChallengeTypeEnum.Redirect: console.debug("authentik/flows: redirecting to url from server", (this.challenge as RedirectChallenge).to); window.location.assign((this.challenge as RedirectChallenge).to);