To begin with, please understand that I have little formal training in Front Stack development. I've had to learn a lot on the job, and our only experienced developer left about a year ago, so I very well might not know something I should.
My current cunumdrum is that I don't know how to check when a JWT token I have has expired, that I did not create. How would I know? Since I don't know the secret used to generate it. I could possibly just record when I made the request for the token(s), and how long I made the timeout, but I wonder if there will be a disconnect between when I made the request and time the token acttualy expires.
I ask, because I don't want to randomly call to refresh any of these tokens. Only when they expire.
If it helps, we are using Python 3.6 in the backend and making a request to Signal Wire for the tokens
Thanks in advance
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…