Currently the access tokens expire after specific time interval. User needs to login again to get the request_token. Is there a alternate way to have offline access for a longer period of time.
Access token is valid till next trading session. It will be invalid only if you use some other platform like Kite or Pi. You can keep using same access token till next trading session.
@abhishek.gaikwad Its exchange regulation to login user atleast once in a given trading session. So currently its not possible to get long standing tokens. You can checkout headless browsers like Selenium and Mechanize.
Access token is valid till next trading session. It will be invalid only if you use some other platform like Kite or Pi. You can keep using same access token till next trading session.
Check point 1 : https://kite.trade/forum/discussion/comment/144/#Comment_144