[GH-ISSUE #1204] [Issue]: Spotify Authenticate does not open browser #590

Closed
opened 2026-10-20 17:30:31 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Decidetto on GitHub (May 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1204

Originally assigned to: @Decidetto on GitHub.

Summary

Clicking the Spotify Authenticate / Connect Spotify Account button after entering a valid Spotify client ID does not open a browser window for Spotify OAuth.

Expected behavior

The app should open the Spotify authorization page in the user's browser and begin polling for the loopback OAuth callback.

Actual behavior

No browser opens after clicking the Spotify authenticate button, so the user cannot complete Spotify OAuth from the normal flow.

Steps to reproduce

  1. Open the Spotify DJ agent settings on the refactor branch.
  2. Enter a valid Spotify client ID.
  3. Click Authenticate / Connect Spotify Account.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: refactor before fix/spotify-auth-browser-launch
  • Run mode: Tauri desktop
  • OS + version: Windows
  • Node + pnpm versions: Node v24.15.0, pnpm 10.33.2
  • Rust version, if relevant: rustc 1.95.0
  • Remote Runtime URL configured? not relevant
  • Provider, model, or integration, if relevant: Spotify OAuth

Logs, screenshots, or video

No browser opens when the button is clicked.

Regression notes

This worked before the refactor.

Additional context

The auth URL is generated by the Rust Spotify integration, but opening it with window.open after the awaited Tauri command no longer reliably opens an external browser from the Tauri webview.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Decidetto on GitHub (May 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1204 Originally assigned to: @Decidetto on GitHub. ## Summary Clicking the Spotify `Authenticate` / `Connect Spotify Account` button after entering a valid Spotify client ID does not open a browser window for Spotify OAuth. ## Expected behavior The app should open the Spotify authorization page in the user's browser and begin polling for the loopback OAuth callback. ## Actual behavior No browser opens after clicking the Spotify authenticate button, so the user cannot complete Spotify OAuth from the normal flow. ## Steps to reproduce 1. Open the Spotify DJ agent settings on the `refactor` branch. 2. Enter a valid Spotify client ID. 3. Click `Authenticate` / `Connect Spotify Account`. ## Impact area - [ ] App shell, navigation, startup, or providers - [x] Catalog resources - [ ] Chat mode - [ ] Roleplay mode - [ ] Game mode - [ ] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [x] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: `refactor` before `fix/spotify-auth-browser-launch` - Run mode: Tauri desktop - OS + version: Windows - Node + pnpm versions: Node v24.15.0, pnpm 10.33.2 - Rust version, if relevant: rustc 1.95.0 - Remote Runtime URL configured? not relevant - Provider, model, or integration, if relevant: Spotify OAuth ## Logs, screenshots, or video No browser opens when the button is clicked. ## Regression notes This worked before the refactor. ## Additional context The auth URL is generated by the Rust Spotify integration, but opening it with `window.open` after the awaited Tauri command no longer reliably opens an external browser from the Tauri webview. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:30:31 +07:00
Author
Owner

@cha1latte commented on GitHub (May 26, 2026):

fixed in #1205

<!-- gh-comment-id:4538716700 --> @cha1latte commented on GitHub (May 26, 2026): fixed in #1205
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#590
No description provided.