Keksik Posted October 22, 2023 Report Share Posted October 22, 2023 Hello! How long access and refresh tokens issued from MobileApp live? How often do I need to refresh access and reshres tokens? Does it worth to try to update refresh token alongside with access token? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted October 22, 2023 Report Share Posted October 22, 2023 Decode the JWT and check the exp parameter, but be aware that tokens can be invalidated server-side at Valve's discretion, and nobody's sure exactly what makes that happen besides IP changes. Coldblackice 1 Quote Link to comment Share on other sites More sharing options...
Keksik Posted October 22, 2023 Author Report Share Posted October 22, 2023 And what about updating refresh token? Should I refresh it alongside with access token? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted October 23, 2023 Report Share Posted October 23, 2023 There's no reason not to. Quote Link to comment Share on other sites More sharing options...
Nickers Posted January 12 Report Share Posted January 12 @Dr. McKay Hi, what do I use as a key to decode refreshToken? Can't find it mentioned anywhere. Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 12 Report Share Posted January 12 You don't need a key to decode it. It's just a JWT. Nickers 1 Quote Link to comment Share on other sites More sharing options...
Nickers Posted January 12 Report Share Posted January 12 My bad, I was trying to verify it instead of decoding... Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 12 Report Share Posted January 12 I don't believe the JWT public key was ever published. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.