Keksik Posted October 22, 2023 Report 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
Dr. McKay Posted October 22, 2023 Report 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
Keksik Posted October 22, 2023 Author Report Posted October 22, 2023 And what about updating refresh token? Should I refresh it alongside with access token? Quote
Nickers Posted January 12, 2024 Report Posted January 12, 2024 @Dr. McKay Hi, what do I use as a key to decode refreshToken? Can't find it mentioned anywhere. Quote
Dr. McKay Posted January 12, 2024 Report Posted January 12, 2024 You don't need a key to decode it. It's just a JWT. Nickers 1 Quote
Nickers Posted January 12, 2024 Report Posted January 12, 2024 My bad, I was trying to verify it instead of decoding... Quote
Dr. McKay Posted January 12, 2024 Report Posted January 12, 2024 I don't believe the JWT public key was ever published. Quote
Ultra_Om Posted 2 hours ago Report Posted 2 hours ago refreshToken when revoked has eruslt: 26, but will this error occur when logging out of all Steam devices or deleting a Steam account? also on account with no steam guard it gave me much more than 200 days token alive "exp": 1779515339 I just want to know that user revoking his refreshToken on purpose (for example by https://api.steampowered.com/IAuthenticationService/RevokeToken/v1/), so I can react correctly based on this. Can a token be revoked for other reasons by Steam if you use the account normally?(No security reasons) Quote
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.