HomeAssistant: always send clientid in params (#25793)

This commit is contained in:
andig 2025-12-03 17:51:19 +01:00 • committed by GitHub
parent dde19d3829
commit 4fb94b9b4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,8 +55,9 @@ func NewHomeAssistant(uri string) (oauth2.TokenSource, error) {
ClientID: extUrl,
RedirectURL: redirectUri,
Endpoint: oauth2.Endpoint{
AuthURL: uri + "/auth/authorize",
TokenURL: uri + "/auth/token",
AuthURL: uri + "/auth/authorize",
TokenURL: uri + "/auth/token",
AuthStyle: oauth2.AuthStyleInParams,
},
}