OAuth2 local callback like Google or Github

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.

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

1 Like

Hi Tim,

Thanks for the quick reply I appreciate it.

2 Likes