mirror of
https://github.com/misiektoja/spotify_monitor.git
synced 2026-04-25 22:55:52 +03:00
[GH-ISSUE #32] TOTP VER = 0 incorrect in URLs #21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tomballgithub on GitHub (Dec 26, 2025).
Original GitHub issue: https://github.com/misiektoja/spotify_monitor/issues/32
This is independent of the other issue I reported with TOTP_VER being 6 until loaded from URL/File.
These URLs are being used as a GET, but they include totpVer=0. However, the Spotify web client uses totpVer=61, which seems like the correct thing to do, even though this does still eventually work.
@tomballgithub commented on GitHub (Dec 26, 2025):
in generate_totp, need to save 'ver' to a global variable so that it can be used in refresh_access_token_from_sp_dc() instead of TOP_VER:
example using MAX_VER within refresh_access_token_from_sp_dc():
@misiektoja commented on GitHub (Dec 27, 2025):
Lol, it seems Spotify is being super generous and just ignoring this field. Anyway, I totally missed that bug!