What should be redirect URL for desktop application

gita
hi There,
I'm creating desktop application using dotnetkiteconnect. Now what should be the redirect URL and Postback URL to create new App in Kite connect?
  • kakush30
    1) Redirect URL is the URL of your server, where you be redirecting your login flow to your server's URL, where you programmed it to get access token automatically.

    If you havent deployed any server, then in my case, I just use google.com and copy paste access_token to my program.

    2) In postback URL, Kite POST (request method) order updates to your defined URL of your server, where you can apply logics to handle the certain order. If you are not planning to deploy server, then you have to do the old fashion way by using the Order API.
  • gita
    Thanks for clarification. Google.com feels dangerous. Can I use localhost? If I just deploy one endpoint to receive any information and deploy it locally will it work?
  • kakush30
    I havent tried that, but 99.99% that will work.
  • gita
    thanks.
Sign In or Register to comment.