Closed JustArchi closed 11 months ago
Hello @JustArchi, valve already did it. RequestWebAPIUserNonce - WebApi authorization is not works anymore. Guess this theme needs to be moved to High priority...
Closed since it's no longer relevant as the fix is mandatory now: https://github.com/JustArchiNET/ArchiSteamFarm/issues/3043
Checklist
Enhancement purpose
3029 suggests that sooner or later web api nonce tokens will stop working, and rather sooner than later. We should move away from them and try to utilize access tokens from new login flow, which fortunately we've already managed to implement.
Solution
Find out method responsible for refreshing/getting new access token. Hint goes for
CAuthentication_AccessToken_GenerateForApp_Request
, then:This all replaces functionality in
ArchiWebHandler.Init()
, since access token acts the same assteamLoginSecure
.Why currently available solutions are not sufficient?
Because there is a chance ASF will break in a way that will be much harder to fix than #3029.
Can you help us with this enhancement idea?
Yes, I can code the solution myself and send a pull request
Additional info
Thanks @xPaw