rcoodey / Pilarm

Integrate existing door or window contact sensors with SmartThings using a Raspberry Pi or C.H.I.P.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auth

kencol78 opened this issue · comments

Hi there,
Many thanks for writing and sharing this.

In the readme, I'm trying to follow point 12, but it seems to fail...I must not be getting the exact format of the url I should be entering.

Can you see what I'm doing wrong here?

https://graph-eu01-euwest1.api.smartthings.com/oauth/token?grant_type=authorization_code&client_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx&client_secret=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&redirect_uri=http://localhost/&code=xxxxxx&scope=app

Many thanks.