Skip to content

Question about the login process. #3335

Closed Answered by JustArchi
DerErzengel asked this question in Support (English)
Discussion options

You must be logged in to vote

ASF goes through login gate set up by Steam, we use SteamKit2 library for that, passing the gate requires login, password and optionally also 2FA detail such as mobile token or e-mail one.

After passing the gate, we're given access and refresh token to work. Access token is valid only for around 24h, while refresh token is valid for much longer period. Refresh token is used to obtain new access token when old one is close to expiration, it's also used for refreshing the refresh token as well. The cookie value you've asked is created from constructing {steamID}||{accessToken} value, where access token is as described before, while steamID is simply steam identificator of the account in its…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by JustArchi
Comment options

You must be logged in to vote
2 replies
@JustArchi
Comment options

@DerErzengel
Comment options

Comment options

You must be logged in to vote
2 replies
@Rudokhvist
Comment options

@nolddor
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants