asdfghjkl Posted April 13 Report Posted April 13 I'm trying to use the Steam Web API endpoint: https://api.steampowered.com/IAuthenticationService/GenerateAccessTokenForApp/v1/ I'm sending a POST request with steamid and refresh_token, but the response is always: { "response": {} } It was working fine yesterday, but stopped working today. Is there any better way to update steamLoginSecure? Thank you very much! post_url = 'https://api.steampowered.com/IAuthenticationService/GenerateAccessTokenForApp/v1/' post_data = { 'steamid': steam_id, 'refresh_token': refresh_token, } response = session.post(post_url, data=post_data, allow_redirects=False, timeout=20) print(response.text) {"response":{}} Quote
asdfghjkl Posted April 14 Author Report Posted April 14 (edited) 7 hours ago, Dr. McKay said: What type of refresh token do you have? Thank you! The refresh_token comes from the maFile generated by linking with Steam Desktop Authenticator. This is Steam Desktop Authenticator: Edited April 14 by asdfghjkl Quote
asdfghjkl Posted April 14 Author Report Posted April 14 Using steamRefresh_steam from login post Response Headers Set-Cookie is the same. https://login.steampowered.com/jwt/finalizelogin {"response":{}} Quote
Dr. McKay Posted April 14 Report Posted April 14 I'd guess your refresh token is probably expired or now invalid. Quote
asdfghjkl Posted April 14 Author Report Posted April 14 54 minutes ago, Dr. McKay said: I'd guess your refresh token is probably expired or now invalid. Here is some information from my refresh_token. I believe it hasn't expired yet, since I've recently logged in again using Steam Desktop Authenticator. Payload: { "iss": "", "sub": "", "aud": [ "web", "renew", "derive" ], "exp": 1762718905, "nbf": 1735992415, "iat": 1744632415, "jti": "", "oat": 1744632415, "per": 1, "ip_subject": "", "ip_confirmer": "" } Quote
asdfghjkl Posted April 14 Author Report Posted April 14 44 minutes ago, Dr. McKay said: Dunno, you're doing something wrong then. Thank you for your help! I should look into it a bit more — it's most likely something I did wrong. Thanks again for your assistance! Wishing you a wonderful day. 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.