From 3648c8c07a1a76afeb650844dc3c8c047449330f Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 29 Aug 2022 14:23:40 -0400 Subject: [PATCH] Revert "Add redirect_uri to each interaction with login flow (#13389)" (#13504) --- src/auth/ha-auth-flow.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/auth/ha-auth-flow.ts b/src/auth/ha-auth-flow.ts index eef3da0d33..297eaeeb19 100644 --- a/src/auth/ha-auth-flow.ts +++ b/src/auth/ha-auth-flow.ts @@ -360,11 +360,7 @@ class HaAuthFlow extends litLocalizeLiteMixin(LitElement) { } this._submitting = true; - const postData = { - ...this._stepData, - client_id: this.clientId, - redirect_uri: this.redirectUri, - }; + const postData = { ...this._stepData, client_id: this.clientId }; try { const response = await fetch(`/auth/login_flow/${this._step.flow_id}`, {