[Steam Wishlist Discount Notifier] Steam Credentials Invalidated After 24 Hours
Extension name
Steam Wishlist Discount Notifier
Bug Description
Nearly every day my steam credentials get invalidated and I need to sign back in to this extension. This does not happen to the normal credentials for steam, nor for any other third party steam clients.
To Reproduce
- Sign into Steam Wishlist Discount Notifier.
- Close Playnite.
- Wait 24 hours or more.
- Re-open playnite.
- Get a prompt that says authentication required
Logs
15-11 22:00:18.459|DEBUG|SteamWishlistDiscountNotifier#SteamLogin:Steam GetLoggedInSteamId64 not logged. Address: https://store.steampowered.com/login/?redir=account%2F%3Fl%3Denglish&redir_ssl=1
15-11 22:00:18.459|DEBUG|SteamWishlistDiscountNotifier#SteamWishlistDiscountNotifier:Started checking for wishlist. Status: AuthRequired, steamId:
15-11 22:00:18.459|DEBUG|SteamWishlistDiscountNotifier#SteamWishlistDiscountNotifier:Finished checking for wishlist
15-11 22:11:19.863|DEBUG|SteamWishlistDiscountNotifier#SteamLogin:Steam GetLoggedInSteamId64 not logged. Address: https://store.steampowered.com/login/?redir=account%2F%3Fl%3Denglish&redir_ssl=1
Screenshots
No response
Same error here, I'll wait for a fix because I don't want to authenticate every day.
Uninstalled the extension today. Having to login at this frequency ruins the convenience of this plugin.
After uninstalling this plugin, it seems other plugins that rely upon the steam plugin being logged in to a private account with an API key, started to fail to login as well. This could be due to a new way that Steam authenticates API keys (as they now require the new steam guard authenticator to be issued). Valve may be invalidating those older keys issued under the old system frequently in order to prompt users to stop using them, requiring frequent re-logins. To test this theory, I removed and re-added my Steam Guard Authenticator, revoked my API key, re-issued it and logged in again. I will let you know if I get prompted to re-login in the near future.
After 48 hours, the credentials were yet again invalidated and I was forced to log back in. I think it's an issue with Steam's API keys.
Yeah, still happening 3 months later
I'm not sure why you're experiencing this issue so frequently, personally I've only had to log in again every 4-5 months. The extension works by opening a hidden/off-screen web view to access your Steam wishlist data. It grabs the necessary data from Steam and makes a standard request to fetch your wishlist, similar to how a regular browser would. The extension does not use private API keys or does anything that would explicitly log you out.
This behavior seems to be on Steam's end, something is causing your login to become invalidated, but I can't say exactly why. For comparison, I'm also using Steam Guard, a private account, and I also have a Steam Web API key configured for the Steam library plugin.
To help narrow this down, I have a few questions for those affected:
- Do you use a VPN, proxy or similar tunneling service that may change your network location/IP?
- Do you have a dynamic IP address from your ISP that might be changing frequently?
- Do you run any security software (e.g. antivirus, firewall, etc.) that might interfere with local cookies or HTTP sessions?
- Do you run Playnite from multiple computers?
- Do you experience similar logouts in other extensions, like @MEDumont is experiencing? If so, what happens if you disable this extension? Do the logout still happen in those extensions?
Additionally, for testing, please install the Steam News Viewer. When you are notified that you are logged out, please open the web view to see if you are indeed logged out:
If anyone can identify a pattern or consistent trigger, it may be helpful to find the root of the issue. This is something that it looks like only some people are experiencing so it's difficult to find a solution.
Same issue. Gotta say though, I am not using the Steam API key for the library connection, since it didn't work reliably. But as far as I understood, this addon doesn't make use of that anyways? I never provided it with the API key...
- Do you use a VPN, proxy or similar tunneling service that may change your network location/IP? No.
- Do you have a dynamic IP address from your ISP that might be changing frequently? Probably, since most ISPs are doing that, but normally only every other week or month, not daily.
- Do you run any security software (e.g. antivirus, firewall, etc.) that might interfere with local cookies or HTTP sessions? Just Windows Defender, nothing special.
- Do you run Playnite from multiple computers? No.
- Do you experience similar logouts in other extensions, like @MEDumont is experiencing? If so, what happens if you disable this extension? Do the logout still happen in those extensions? No, at least the Steam library connection stays up. Will check for e.g. the Steam News Viewer.
Additionally I can only say, my account is public (to a degree, inventory and comments are "friends only"). Oh, and I am also using Steam Guard. I also tried using either the notification confirmation as well as the code for logging in, no difference.
To help narrow this down, I have a few questions for those affected:
- Do you use a VPN, proxy or similar tunneling service that may change your network location/IP? No
- Do you have a dynamic IP address from your ISP that might be changing frequently? Yes, not every day but it does change
- Do you run any security software (e.g. antivirus, firewall, etc.) that might interfere with local cookies or HTTP sessions? Windows Firewall. I do run AdGuard on a server that routes all my traffic through it, but I don't see any blocking of anything Steam on it, not that I think that would impact this anyways
- Do you run Playnite from multiple computers? I do not
- Do you experience similar logouts in other extensions, like @MEDumont is experiencing? If so, what happens if you disable this extension? Do the logout still happen in those extensions? The only other Steam login extension I use is the library integration, which I have not experienced logout issues with
Figure I'd chime in as someone else who has been having this issue. I really like the extension so I deal with it and log in whenever it prompts (every couple of days), but it is definitely a bit annoying to have to do so hopefully there is a solution to it
Experiencing this same issue, for me it happens since a long time ago, no VPN, only Windows defender, no multiple computers, no logouts in other extensions
Maybe one suggestion would be to extend the time the extension make requests to Steam, current max is 720 minutes, but can maybe be a day or couple days of interval
Maybe other suggestion would be to be able to disable the notifications, and make the extension only request data to Steam when the extension wishlist window is opened
Thanks for your work on Playnite Extensions
Update: Changed the time to 720 minutes, still lost authentication after a day
But now the extension sends a notification every 2 minutes saying user is not authenticated, this never happened so often before, didn't change any other setting so not sure why this happened now
This extension is great but unfortunately the notification every couple minutes forced to finally uninstall
By the looks of this thread being open since 2023, this is a very weird bug so don't think this will be fixed anytime soon, so guess we will have to wait for P11
I'm really in a difficult position regarding this since I don't experience this myself. I need to login again maybe every 4-5 months when Steam randomly decides to log me out so it's difficult for me to investigate the root cause and possible fix, if anything can be done at all. If anyone experiencing the issue has programming knowledge please try to debug the extension.
I do have programming experience, but not much of it with C, which I suppose playnite and the extension are written in? How would I go about debugging the issue?
And could it in any way have to do with 2FA?
when will this be fixed? I can't even see the side menu now
I've got some new information I gathered by snooping around my Steam account authorized devices log. It seems that every couple of days, Steam recognizes this plugin as a new "Vivaldi on Windows" device and reauthorizes it because it doesn't recognize it. I do not have Vivaldi installed, but I would guess that is the internal browser this plugin is using. It could be that clearing the browser cookies on that internal mini-version of vivaldi is causing it to lose the session. I'm just hypothesizing at this point though...
I also investigated if my automated backup of playnite had anything to do with it. No issues there.
I'm wondering if it would make a difference to use API Authentication for this...
Again, I'd be happy to help with debugging, but I am unsure where to start. It would help to hear how the developer, darklinkpower, would go about debugging this, then I can replicate that process on my machine.
Have the same problem
For anyone having this issue, try disabling CheckDLC and SuccessStory if you are using them, as they seemingly might be causing this issue: https://www.reddit.com/r/playnite/comments/1tbydv9/playnite_reseting_steam_loggin_on_every_bootup/olkoovg/
If that doesn't help, I'll need someone to live debug to see if we can find something, as I can't reproduce this issue. Please message me on reddit via chat when this happens to do this.