Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam no longer provides access token upon first login, so logging in fails #319

Closed
ViZiD opened this issue Sep 13, 2023 · 5 comments · Fixed by #320
Closed

Steam no longer provides access token upon first login, so logging in fails #319

ViZiD opened this issue Sep 13, 2023 · 5 comments · Fixed by #320

Comments

@ViZiD
Copy link

ViZiD commented Sep 13, 2023

Version

0.12.0

What happened?

Can't log in to steam

Steps To Reproduce

Run steamguard setup

Relevant log output

DEBUG - Args { global: GlobalArgs { username: None, all: false, mafiles_path: None, passkey: None, verbosity: Debug, no_update_check: false, http_proxy: None, proxy_credentials: None, danger_accept_invalid_certs: false }, sub: Some(Setup(SetupCommand)), code: CodeCommand { offline: false } }
INFO - reading manifest from /home/username/.config/steamguard-cli/maFiles
DEBUG - loading manifest: "/home/username/.config/steamguard-cli/maFiles/manifest.json"
DEBUG - passkey was revoked from manifest
DEBUG - Performing auto-upgrade...
DEBUG - Manifest is up to date
Log in to the account that you want to link to steamguard-cli
Username: username
INFO - Logging in to username
Password:
DEBUG - password is present
DEBUG - HTTP Request: GET https://api.steampowered.com/IAuthenticationService/GetPasswordRSAPublicKey/v1
DEBUG - Response HTTP status: 200 OK
DEBUG - HTTP Header x-eresult: 1
DEBUG - HTTP Request: POST https://api.steampowered.com/IAuthenticationService/BeginAuthSessionViaCredentials/v1
DEBUG - Response HTTP status: 200 OK
DEBUG - HTTP Header x-eresult: 1
DEBUG - auth session started
Enter the 2fa code sent to your email: nfk5f
DEBUG - HTTP Request: POST https://api.steampowered.com/IAuthenticationService/UpdateAuthSessionWithSteamGuardCode/v1
DEBUG - Response HTTP status: 200 OK
DEBUG - HTTP Header x-eresult: 1
INFO - Polling for tokens... -- If this takes a long time, try logging in again.
DEBUG - HTTP Request: POST https://api.steampowered.com/IAuthenticationService/PollAuthSessionStatus/v1
DEBUG - Response HTTP status: 200 OK
DEBUG - HTTP Header x-eresult: 1
INFO - Logged in successfully!
INFO - Adding authenticator...
ERROR - Failed to link authenticator. Account has not been linked. decoding access token
ERROR - decoding access token

Caused by:
Invalid JWT
DEBUG - Checking for updates to dyc3/steamguard-cli v0.12.0
DEBUG - No update available
@DAPOTTIS
Copy link

having the same issue here

@Ballaual
Copy link

Ballaual commented Sep 13, 2023

same on linux for me on win11 its gonna crash without error after 2fa email code

@dyc3
Copy link
Owner

dyc3 commented Sep 13, 2023

Looks like Steam changed how logins work with access tokens. Working on a fix.

@dyc3 dyc3 changed the title Invalid JWT Steam no longer provides access token upon first login, so logging in fails Sep 13, 2023
@dyc3 dyc3 closed this as completed in #320 Sep 13, 2023
@Ballaual
Copy link

@dyc3 ty for the quick work! will test it out as soon i am back home (~2h) with a new release?

@Ballaual
Copy link

@dyc3 ty for the quick work! will test it out as soon i am back home (~2h) with a new release?

working as intended! ty again!

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

Successfully merging a pull request may close this issue.

4 participants