when does access token expire?

samrvir
Hey,


I just saw quantinsti, zerodha webinar and, as I see it, from request token, after logging in with zerodha credentials, one get the access token.

1. how long is the access token valid for?
2. I am the only user of my APP, can I just save in my access token and use it every time instead of logging in every time. is it possible?

thanks.
Tagged:
  • sujith
    sujith edited December 2016
    Hi,
    1. how long is the access token valid for?
    Access token is flushed every morning so, it is valid till next day, unless you login to any of our platforms.
    2. I am the only user of my APP, can I just save in my access token and use it every time instead of logging in every time. is it possible?
    You can store your access token and keep reusing until it is valid.
  • samrvir
    samrvir edited December 2016
    Hey Sujith,

    thanks for reply. So, is there a solution where, i can automate the login process.

    so that I can generate access token pragmatically. so, that I don't have to manually login into zerodha everyday.

    can i pragmatically login into zerodha and give permissions etc? given that, i am the only user of my APP.
  • sujith
    Hi @samrvir,
    Manual login everyday is mandatory as per exchange guideline. Exchanges don't allow automating login.
    I am afraid there is no solution for this.
This discussion has been closed.