Spotify4Unity icon indicating copy to clipboard operation
Spotify4Unity copied to clipboard

Authorisation issues Unity player & Android

Open wilrick-arfected opened this issue 1 year ago • 1 comments

Hi,

I have some issue surrounding the login/authorisation in the two examples. I've went through the steps to set up an app in Spotify, fill in the right credentials in the Spotify Service script etc. but when testing I encounter the following issues:

  • When playing from within Unity, when pressing the 'Sign in' button the spotify webpage opens which lets me click 'Agree' to let the app access my account after which I get redirected to an error page stating: localhost refused to connect (ERR_CONNECTION_REFUSED - this page can't be reached)
  • When building to my phone, pressing the 'Sign in' button does not bring me to a web page at all. VSCode debugging does not seem to work between my phone and mac so I'll update with logs once I get that running.

I'm inexperienced when it comes to Unity, so I'm fairly sure there's an issue or oversight on my side, so if anyone could help that'd be greatly appreciated.

wilrick-arfected avatar Nov 01 '23 10:11 wilrick-arfected

i have same issue. i open example scene and paste the ids.. But when i press signin button, it opens the browser and when i press agree, It start buffering for infinite period of time

ShaniMehr avatar Apr 19 '24 07:04 ShaniMehr