question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spotify login loop: malformed url

See original GitHub issue

Description

A malformed redirect_url is causing my install to fail to use Spotify. The trailing / added to the URL, maybe by Spotify themselves, causes the callback to fail with INVALID_CLIENT: Invalid redirect URI.

Manually fixing the URL passes the auth check, but any subsequent rechecks trigger the error again.

Current: https://accounts.spotify.com/authorize?client_id=XXXXXX&response_type=code&redirect_uri=http://localhost:6565/&scope=user-read-currently-playing+user-read-playback-state+user-read-playback-position+user-modify-playback-state

Expected https://accounts.spotify.com/authorize?client_id=XXXXXX&response_type=code&redirect_uri=http://localhost:6565&scope=user-read-currently-playing+user-read-playback-state+user-read-playback-position+user-modify-playback-state

How To Reproduce

Steps to reproduce the behavior:

  1. Add Spotify Account
  2. Select Spotify Source
  3. See terminal spawn
  4. See OAUTH connection fail

Version

  • Windows version: 10
  • AudioBand Version: 1.1.2

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
svr333commented, Apr 16, 2022

Resolved in 455ddb4. New redirect url is: http://localhost/callback or http://localhost:PORT/callback if you use a custom port

Next release will include this fix

1reaction
svr333commented, Apr 14, 2022

That is the Idle Profile feature, you can disable it by going into settings -> AudioBand Settings -> Idle Profile Settings. You can also edit the Idle Profile to include a play/pause button so you can start the player from the comfort of your taskbar.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Log in Loop.
I enter my username and password it says logging in and then returns me to the account log in selection screen. So I...
Read more >
Endless login for Spotify? : r/GearS3
Log in to Spotify through a web browser and go to your account. Go into your offline devices. Clear them all and try...
Read more >
Python - Spotify API returning Error 400 "Malformed JSON"
Whenever I try to make a put request to the endpoint I receive a 400 status code with the message "Malformed json" I...
Read more >
How to Fix a Spotify Login Error
After logging in with your Facebook credentials, go to your Account page and select More (three dots) under your name. Select Copy Spotify...
Read more >
Problem with spotify login - Redirect Loop #511
There is a redirect loop in previously logged spotify player sites, when use Facebook credentials to login. Causing loop in that links: https:// ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found