Make sure your app has set redirect to the correct URL.
If not you can set it from your Kite Connect developer console here.

Login to generate access token.