asdfghjkl Posted Sunday at 10:22 AM Report Posted Sunday at 10:22 AM 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
Dr. McKay Posted yesterday at 04:43 AM Report Posted yesterday at 04:43 AM What type of refresh token do you have? Quote
asdfghjkl Posted yesterday at 11:46 AM Author Report Posted yesterday at 11:46 AM (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 yesterday at 11:49 AM by asdfghjkl Quote
asdfghjkl Posted yesterday at 12:29 PM Author Report Posted yesterday at 12:29 PM Using steamRefresh_steam from login post Response Headers Set-Cookie is the same. https://login.steampowered.com/jwt/finalizelogin {"response":{}} Quote
Dr. McKay Posted yesterday at 01:35 PM Report Posted yesterday at 01:35 PM I'd guess your refresh token is probably expired or now invalid. Quote
asdfghjkl Posted yesterday at 02:36 PM Author Report Posted yesterday at 02:36 PM 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
Dr. McKay Posted yesterday at 02:42 PM Report Posted yesterday at 02:42 PM Dunno, you're doing something wrong then. Quote
asdfghjkl Posted yesterday at 03:32 PM Author Report Posted yesterday at 03:32 PM 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.