Skip to content

Use of refresh token and cookie. #69

Answered by somespecialone
yeqwer asked this question in Q&A
Discussion options

You must be logged in to vote

username, password and shared_secret args required only to do login process. Fact that you do have a cookie means that you already logged in, therefore access token (steamLoginSecure cookie) can be expired already.

Try to pass an empty string to client init, access_token as normal from your cookie (or update client session cookies with func from utils) and then check session_is_alive. If True, you can do what you intend to. Steam can issue new access token underneath with first request.

If not, well, you need a username and password and shared_secret to login, similar as you try to login in web browser. It is not possible to login only via refresh token, just because I can't comprehend th…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@yeqwer
Comment options

@somespecialone
Comment options

@yeqwer
Comment options

@yeqwer
Comment options

Answer selected by yeqwer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants