Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

User management not working anymore #231

Closed
SaturnusDJ opened this issue Apr 8, 2019 · 8 comments
Closed

User management not working anymore #231

SaturnusDJ opened this issue Apr 8, 2019 · 8 comments
Assignees
Labels
wontfix Something that will not be fixed or changed.

Comments

@SaturnusDJ
Copy link

WinHue version : 3.0.4334.0
Bridge api version : 1.31.0

Removing a user gives error: Type : 1, unauthorized user at address /config/whitelist.

I used an older version of WinHue before, and that got the same error.
Also, had to reinstall the iOS phone application Philips Hue in order to get access to the bridge again. Other integrations seemed to continue working but not error free, so also reconnected those.

My guess is that an update closed of the permissions to remove users.

@Hyrules
Copy link
Owner

Hyrules commented Apr 8, 2019

I don't have this issue here. I can create and remove users without any problems. Note that i'm still on 1.29 and i'm not showing any update at the moment. Normally when you want to create a user you have to fill both field in the form and press the physical push button on the bridge before pressing the add button in WinHue. Philips hue show only up to 1.30 as API version...

@banksio
Copy link
Collaborator

banksio commented Apr 8, 2019

For what it's worth, I'm also on API 1.31 and have the same issue (just checked). My bridge updated on the 2nd April.

Looks like Philips have changed the API keys format (or maybe not? can't remember if it was like this before?):
image

I also noticed that you can no longer press the bridge button "virtually" anymore by POSTing to /config/linkbutton.

@Hyrules
Copy link
Owner

Hyrules commented Apr 8, 2019

Odd I'll try to force an update and see what happens. As usual philips has not updated the API documentation.

The updates are rolled out by stages and regions so It's not showing for me at the moment.

@Hyrules Hyrules self-assigned this Apr 8, 2019
@Hyrules Hyrules added the bug Crash or glitch or unexpected behavior that causes a problem within the app. label Apr 8, 2019
@Hyrules
Copy link
Owner

Hyrules commented Apr 11, 2019

Ok i'm now on 1.31 and i'm still not having this issue. Ok misread your issue I also cannot remove user i'll fix this.

@Hyrules Hyrules added wontfix Something that will not be fixed or changed. and removed bug Crash or glitch or unexpected behavior that causes a problem within the app. labels Apr 11, 2019
@Hyrules
Copy link
Owner

Hyrules commented Apr 11, 2019

Well I have some bad news. This is not a bug. It's a new feature. You cannot remove user from the API anymore. You need to login here : https://account.meethue.com/apps to do it. I will remove the function to remove users as this wont work anymore.

@banksio
Copy link
Collaborator

banksio commented Apr 11, 2019

That is annoying. Philips seem to be locking down the bridge's security at the moment. I suppose it's good from a security standpoint but don't really see the point.

Also they should have updated the API docs a bit earlier but hey ho.

@Hyrules
Copy link
Owner

Hyrules commented Apr 11, 2019

I've written in the hue api forum. I find that stupid that I can create users without being online but I cannot delete them.

@banksio
Copy link
Collaborator

banksio commented Apr 11, 2019

@Hyrules Thanks for the heads up, just replied there also. Hopefully Philips reconsider. They did with the third party bulbs update, so there's a chance they'll listen.

@Hyrules Hyrules pinned this issue May 29, 2019
@Hyrules Hyrules closed this as completed May 29, 2019
doingweb added a commit to doingweb/watney-plugin-hue that referenced this issue Aug 18, 2019
Attempting to delete a user was resulting in an "unauthorized user" error. According to a GitHub issue discussion for the WinHue project[1], the bridge API no longer allows deleting users, and it now must be done through the Hue webapp.

[1]: Hyrules/WinHue#231 (comment)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix Something that will not be fixed or changed.
Projects
None yet
Development

No branches or pull requests

3 participants