michielpost / Q42.HueApi

C# helper library to talk to the Philips Hue bridge
MIT License
411 stars 114 forks source link

Update RemoteAuthenticationClient.cs #267

Closed teilmeier closed 2 years ago

teilmeier commented 2 years ago

Moved code and grant_type parameters in GetToken(sting code) to http form content. Otherwise, Hue IdP fails due to missing grant_type parameter as documented here: https://developers.meethue.com/develop/hue-api/remote-authentication-oauth/

michielpost commented 2 years ago

Thanks a lot!