I am using the below code in c# to get the remote url. kite.GetLoginURL(); This URL navigate to login page. Then it will return the token once i given the credential. Now, it is not working. This url gets logged in instead of returning the token.
Kindly consider this as a high priority and revert to me. Thanks.
yes, you need to change redirect URL from current kite.zerodha.com to other.
If so, May i know the reason?
This is because of the mixing of the kite connect auth session and kite web(kite.zerodha.com) session. Successful login for kite connects auth comes back with a request_token as a URL query parameter to the redirect URL(here kite.zerodha.com). But, as you have a successful kite web session as well, redirect URL redirect leads to kite web dashboard instead of request_token on URL query parameter. You will have to change the redirect URL on the developer console.
@sujith true. How many apps I can connect at once ? there is a limit of 10 Concurrent calls per second. If these are coming from 10 apps then will zerodha allow it ? How to configure in developer console for this ?
You will have to change the redirect URL on the developer console.
I am making the login URL as below
https://kite.trade/connect/login?api_key=myapikey&v=3&redirect_url=http://127.0.0.1:32175/
but then it doesn't get me back to the application. instead it takes me here
https://zerodha.com/?action=login&type=login&status=success&request_token=4pH12cS1jWpd4VDlnmikSX5CuWwy6W3d
Please help. @sujith @rakeshr
You can go to the developers console and change the redirect URL to wherever you want.
If these are coming from 10 apps then will zerodha allow it ? How to configure in developer console for this ?