How to use Wink API V2 from a non-web app

206 Views Asked by At

I have a command-line PHP application running on a 5min cron retrieving data from an internal web-service and calling a nimbus(former cloud-clock) device via the Wink API. - This was running great for the last few years. When authenticating with password grant and my V1 API Keys authentication fails with the message

This client is not permitted to use the password grant type

It seems that Wink has abandoned the old authentication and asks users to register for new API keys at https://developer.wink.com - The process asks for a redirect URL which makes only sense for web-apps.

Finally my question: How can I authenticate with the new Wink API from a command-line script if I do not have a redirect URI?

0

There are 0 best solutions below