OAuth2 local callback like Google or Github

(John) #1

Hi All,

I’m afraid I’m missing something simple but I have searched for hours on this one.

I have a C# XAML phone app, hosting a WebBrowserControl and a very simple ST webservice to turn on a switch.

What I would like to do is use a callback uri like google allows so I can get the response without having to have an actual web service running to get the response.(unless I am missing something)

With Google the callback looks like: redirect_uri=urn:ietf:wg:oauth:2.0:oob

What I’m seeing now is in the webbrowsercontrol it lets me login to SmartThings, then shows my selections for my webservice, then I get an error about the callback.

Any help would be greatly appreciated.

(Tim Slagle) #2

Our OAuth is done in the “cloud” so whatever callback you use needs to be accessible on the open Internet.

(John) #3

Hi Tim,

Thanks for the quick reply I appreciate it.