Replies: 4 comments 9 replies
-
My understanding is the same, the refresh token from the new APIs gets used by the classic login. IIRC if you provide an access token instead of a refresh token, it will reject you. |
Beta Was this translation helpful? Give feedback.
-
I'm getting rejected, both using SteamKit and our stuff, both with For testing, i did
The output was Unable to logon to Steam: AccessDenied / AccessDenied
Any suggestions? Edit: Just want to point out i wouldn't be storing the refresh token as raw text, it's enciphered and dumped to a database cache, but i have the raw copy-paste hard-coded here to test. |
Beta Was this translation helpful? Give feedback.
-
Attempting to stay logged in with DepotDownloader didn't work for me. The login token list was empty. So at this point i have no idea. This may have been because i'm not overly familiar with the tool, if i'm being honest though. |
Beta Was this translation helpful? Give feedback.
-
This is correct. However, if you want the session token to be available after your initial login, you must have
Otherwise, the next time you go to use that refresh token, it's no longer valid. |
Beta Was this translation helpful? Give feedback.
-
Disclaimer: I am working on GOG Galaxy's Steam Integration. I've credited this project as the basis for our new auth flow in our current readme. We don't use any code directly, and our structure is completely different so we can't do a straight port (even though i really, really want to lol.) We have looked at the service method calls you make so we could do the same. If you require any license changes for this information, let us know. We currently are under MIT license.
If i understand correctly (based on what you have at https://github.com/SteamRE/SteamKit/tree/master/Samples/1a.Authentication) we can properly store the refresh token and username, then keep the user logged in using the classic login process defined at https://github.com/SteamRE/SteamKit/tree/master/Samples/1.Logon, except provide the username and refresh token. Am i correct here? If so, i could reuse code written before i started working on this and that would be fantastic.
It seems weird that I don't have to exchange the refresh token for an access token before calling that. I found a message in the auth protobuf file that appear to deal with that,
CAuthentication_AccessToken_GenerateForApp_Request
, but if the refresh token is all i need, i'll ignore that message.Beta Was this translation helpful? Give feedback.
All reactions