michielpost / Q42.HueApi

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

Remote Api don't works anymore #188

Closed tgiachi closed 4 years ago

tgiachi commented 4 years ago

In remote auth flow when i try to get Token, the result token is null

var response = _remoteAuthentication.ProcessAuthorizeResponse(result.RequestUrl);
var token = await _remoteAuthentication.GetToken(response.Code);

where response is valid code response

Thanks!

michielpost commented 4 years ago

I'll have a look at this issue this week. Thanks.

michielpost commented 4 years ago

Can you test using the Q42.HueApi.RemoteApi.Sample in this repo? Fill in your appId, clientid, clientSecret and callbackUrl in MainPage.xaml.cs and run and debug the app. Set a breakpoint on line 64 for example.

I just tested this and it works.