Hi,
When we register your app for OAuth, we have to specify the re-directURI. For a given ClientID, only the registered re-directURIs are allowed. For the sample, the redirectURI allowed is `authenticate-with-oauth://auth`. You need to register your own app.
Thanks
Rama