From c5efe5b49eeede2f66661383cf872572b3033f63 Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Tue, 30 Apr 2024 10:33:17 +0200 Subject: [PATCH] redirect in every case --- src/Umbraco.Web.UI.Client/src/apps/app/app.element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/apps/app/app.element.ts b/src/Umbraco.Web.UI.Client/src/apps/app/app.element.ts index 7912440acb..a4c9e3507a 100644 --- a/src/Umbraco.Web.UI.Client/src/apps/app/app.element.ts +++ b/src/Umbraco.Web.UI.Client/src/apps/app/app.element.ts @@ -70,7 +70,7 @@ export class UmbAppElement extends UmbLitElement { : 'Authorization failed. Please try again.'; // Complete the authorization request - this.#authContext?.completeAuthorizationRequest().then(() => { + this.#authContext?.completeAuthorizationRequest().finally(() => { // If we don't have an opener, redirect to the root if (!window.opener) { history.replaceState(null, '', '/');