OAuth2 to use current request header (#43668)
This commit is contained in:
parent
69c2818c56
commit
f9fa24950b
18 changed files with 258 additions and 90 deletions
|
@ -90,8 +90,8 @@ class ToonLocalOAuth2Implementation(config_entry_oauth2_flow.LocalOAuth2Implemen
|
|||
"""Initialize local Toon auth implementation."""
|
||||
data = {
|
||||
"grant_type": "authorization_code",
|
||||
"code": external_data,
|
||||
"redirect_uri": self.redirect_uri,
|
||||
"code": external_data["code"],
|
||||
"redirect_uri": external_data["state"]["redirect_uri"],
|
||||
"tenant_id": self.tenant_id,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue