mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 20:36:35 +00:00
Add redirect_uri to each interaction with login flow (#13389)
This commit is contained in:
parent
3aa813e391
commit
089f531492
@ -359,7 +359,11 @@ class HaAuthFlow extends litLocalizeLiteMixin(LitElement) {
|
|||||||
}
|
}
|
||||||
this._submitting = true;
|
this._submitting = true;
|
||||||
|
|
||||||
const postData = { ...this._stepData, client_id: this.clientId };
|
const postData = {
|
||||||
|
...this._stepData,
|
||||||
|
client_id: this.clientId,
|
||||||
|
redirect_uri: this.redirectUri,
|
||||||
|
};
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await fetch(`/auth/login_flow/${this._step.flow_id}`, {
|
const response = await fetch(`/auth/login_flow/${this._step.flow_id}`, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user