Add redirect_uri to each interaction with login flow (#13389)

This commit is contained in:
Paulus Schoutsen 2022-08-16 17:17:18 -04:00 committed by GitHub
parent 3aa813e391
commit 089f531492
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -359,7 +359,11 @@ class HaAuthFlow extends litLocalizeLiteMixin(LitElement) {
}
this._submitting = true;
const postData = { ...this._stepData, client_id: this.clientId };
const postData = {
...this._stepData,
client_id: this.clientId,
redirect_uri: this.redirectUri,
};
try {
const response = await fetch(`/auth/login_flow/${this._step.flow_id}`, {