Cloud Connector - auth0


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 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. :slight_smile:

Best regards,

Hi, @jkruza

I’m currently analyzing this issue, and I have some questions. Are you exposing directly your server or are you trying to make use of a proxy through some tunneling service? In case of the first case, which port? In case of the second one, which service?

Hi again, @jkruza

I talked to the engineering team about your case. They told me that your payload was missing some input parameters. To be more specific, the state and code parameters. I hope this helps you solving your issue!