Hi,
I’m trying to add my first DYI device using cloud connector / st schema.
The idea is:
- use auth0 as oauth server
- webhook hosted in DMZ (for now…)
I have managed to get to the point where I see my app/device in SmartThings app (dev mode). When I try to add it, I’m redirected to auth0 login UI.
I’m able to log in (auth0 logs show “succesfull exchange”), browser gets redirected to c2c-eu.smartthings.com/oauth/callback and…
“Connection between SmartThings and encountered error”.
Any ideas what the actual error is? My webhook shows no logs, so I assume there is something wrong with oauth handshake.
Does anyone have complete auth0/Cloud Connection setup wakthough?
Please let me know if you need more details.
Best regards,
JK