mass_queue icon indicating copy to clipboard operation
mass_queue copied to clipboard

Can't authenticate (?)

Open pejannl opened this issue 7 months ago • 1 comments

I installed the queue actions addon. Then tried to add the integration. It redirects me to a Mjusic Assistant login page.

Username / password fails

Go to "Use Home Assistant login" on the login page. Enter username / password.

Here's the error I get

Failed to exchange OAuth code: 401, message='Attempt to decode JSON with unexpected mimetype: text/plain; charset=utf-8', url='http://supervisor/core/api/auth/token'

pejannl avatar Apr 14 '26 06:04 pejannl

That's going to be an issue with how MA/HA are set up.

Here's what often works for me:

  1. Start the setup process like normally until you get to the login screen
  2. In your browser, change the URL to match the local IP address for Music Assistant
    • IE instead of "https://music_assistant.mydomain.tld, http://mass.local:8095, http://d5369777-music-assistant:8095, or whatever else, use http://192.168.1.2:8085` (or whatever your IP/port is).
  3. Complete the process like normal.

If you still have the issue, you may need to try accessing Home Assistant via its IP address, too.

droans avatar Apr 17 '26 13:04 droans