From c3181a490f42b83343759af9daa424eb1339cf26 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 24 May 2022 19:11:20 +0200 Subject: [PATCH 1/2] Simplify OAuth2 authorize callback URL --- src/panels/my/ha-panel-my.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/my/ha-panel-my.ts b/src/panels/my/ha-panel-my.ts index fd5fa4f260fe..468a354aacfd 100644 --- a/src/panels/my/ha-panel-my.ts +++ b/src/panels/my/ha-panel-my.ts @@ -123,7 +123,7 @@ export const getMyRedirects = (hasSupervisor: boolean): Redirects => ({ component: "lovelace", redirect: "/config/lovelace/resources", }, - oauth2_authorize_callback: { + callback: { redirect: "/auth/external/callback", navigate_outside_spa: true, params: { From 304d2dacb3cfb916977b0251ef5a0990e58279c2 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 24 May 2022 21:49:10 +0200 Subject: [PATCH 2/2] Use oauth instead --- src/panels/my/ha-panel-my.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/my/ha-panel-my.ts b/src/panels/my/ha-panel-my.ts index 468a354aacfd..a7ef299ba52d 100644 --- a/src/panels/my/ha-panel-my.ts +++ b/src/panels/my/ha-panel-my.ts @@ -123,7 +123,7 @@ export const getMyRedirects = (hasSupervisor: boolean): Redirects => ({ component: "lovelace", redirect: "/config/lovelace/resources", }, - callback: { + oauth: { redirect: "/auth/external/callback", navigate_outside_spa: true, params: {