Cannot get my cloud connected device to run discovery

I am running a server with node.js and I can get an oauth token running a manual script. I cannot get Smartthings to trigger discovery but on the phone when I click on my device under “My Testing Devices” all that pops up is a browser page with “{}” my last log line shows: “redirecting to: https://c2c-us.smartthings.com/oauth/callback?code=2872b33272bab6357540336d8b090ae2&state=eyJhbGciOiJIUzM4NCJ9.MzAxYzM2ZmEtN2UzNy00NmVkLTk2ZjEtYWQ3OGNiYmM2Mjk2OnZpcGVyXzUxMTc4OTIwLTAyNjctMTFmMS1iODRhLTNmOTcxYzZhMDMxOToxNzc1Mjg3NTYzMzU5OjM0ZjVkYTM3LTYzMWUtNDhhOS1hNjUwLWViMzNlMmYyNTJmMTplbi1VUzo6OnRydWU.Ntof9eW5BICOU5a4l5w2Fh3AFakCoijiRhZjJSS-eaauHrJZqq5SiVnmnh7t6Fy-” Note: there is also a oauth callback prior to this.

Interesting that a browser window pops up.

If you are running Android I would suggest checking the app settings for SmartThings (in Android, not within the app). Specifically the defaults:

You need the supported links to be handled in the app:

If you are using iOS then you need the equivalent. I forget the buzz words.

The bottom line is that when the app receives a redirect to e.g. https://c2c-us.smartthings.com/ it should be handling it internally not looking for an external site in a browser.

1 Like

Hi, @turbo6543
Please let us know your results to know if this needs further investigation.