We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9f85cf commit d2ce56dCopy full SHA for d2ce56d
main/src/main/java/com/github/topi314/lavasrc/spotify/SpotifyTokenTracker.java
@@ -272,7 +272,7 @@ public static String generateGetAccessTokenURL() throws IOException {
272
var hexSecret = toHexString(transformedSecret);
273
var totp = generateTOTP(hexSecret, 30, 6);
274
long ts = System.currentTimeMillis();
275
- return "https://open.spotify.com/api/token?reason=init&productType=web-player&totp=" + totp + "&totpVer=5&ts=" + ts;
+ return "https://open.spotify.com/api/token?reason=init&productType=web-player&totp=" + totp + "&totpVer=7&ts=" + ts;
276
}
277
278
public static byte[] convertArrayToTransformedByteArray(byte[] array) {
0 commit comments