Regenerate access token

jinal
jinal edited August 12 in Python client
Hi Zerodha Team, I have subscribed kite connect app and I am using kiteconnect python client. I am not getting refresh token after generating the session. I want to regenerate access token. After generating session I am getting the null value of refresh token. The access token is valid for one day only but I want do continuous trading for 4-5 days or more. To do this web socket (Kite ticker) should be run continuously, for this I need to generate a session for a long time. You have provided this on kite connect API doc as, refresh_token A token for getting long standing read permissions. This is only available to certain approved platforms string What is exactly means "available to the certain approved platform"? Is there any option to generate session for a long time? Kindly let me know, How can I get refresh token and renew access token? i have same issue how can i resolved that.
  • rakeshr
    I am not getting refresh token after generating the session. I want to regenerate access token.
    You will need to generate request_token, and use it to generate access_token. Go through the login flow documentation here.
    The access token is valid for one day only but I want do continuous trading for 4-5 days or more.
    As per regulation, you will need to generate access token everyday. Go through the login FAQs here.
Sign In or Register to comment.