hi tony, i understand that, but after I have logged in the morning, and then during the day anytime i run the api, and generate access token there, it logs me out of the website as well.
Do you use a different browser for authenticating while generating access token? There is another regulation that doesn't allow client to have more than one simultaneous session.
If possible use the same browser for your regular use and authenticating your Kite Connect app. Also if you are not doing it already, make sure you use the same access token for the whole day.
Thanks Tony. The access token gets generated on AWS so cant use the same browser. But this is something that's just started happening since the past couple of days, earlier never faced this issue and I haven't made any changes to the setup.
there is a way to stay logged in for the day, save your access token in one file whenever you need to log in again just read that access token from that file and send this access token to kite
Hi Rakeshr, there is no fixed time to generate the access token, but to make you understand here is a scenario: I login to kite.zerodha.com at lets say 9:20 am, post this when i generate the access token anytime after 9:20 am, be it 9:30 am, 10:30 am, 11:00 am ..... anytime, it logs me out of kite.zerodha.com session
It is exactly as mentioned in the link! Well who can argue with the "regulator" they are the gods of random thoughts that only they can understand!! We mere mortals cannot begin to fathom the logic behind their rules!!
If possible use the same browser for your regular use and authenticating your Kite Connect app. Also if you are not doing it already, make sure you use the same access token for the whole day.
You can go through this thread to know more about session timings.
I login to kite.zerodha.com at lets say 9:20 am, post this when i generate the access token anytime after 9:20 am, be it 9:30 am, 10:30 am, 11:00 am ..... anytime, it logs me out of kite.zerodha.com session
It could be related to this.