How long can a jwtToken be used for?
-
Good morning mates,
Thanks in advance for reading this post.Lets say, On a Monday morning 10 AM, I pass clientCode,password and totp to the loginByPassword URL https://apiconnect.angelbroking.com/rest/auth/angelbroking/user/v1/loginByPassword and get the jwtToken back in the reposnse.
How long does this token stay valid??. Can i use the token for a entire day or do i have to generate/refresh the token every 1 hour or so ??
Can someone clarify this.
-
@admin
Got it. Thanks for the reply. 👍 - topic:timeago_earlier,9 days
-
Hi @laskshmi , jwtTokens are valid till 5 am of the subsequent day, unless you have logged out of the SmartAPI session or have reset you Angel One account password or m-pin during the day.
-
Update:
Correct me if i am wrong. @admin
My observation is that a token I generated around 8 AM is still valid till 9.30 PM. I guess we can just generate one token per day. :)