Giter VIP home page Giter VIP logo

AUTHENTICATION_SERVICE_UNAVAILABLE Explicit user authorization is required to use Spotify. The user has to complete the auth-flow to allow the app to use Spotify on their behalf com.spotify.error.user_not_authorized about android-sdk HOT 5 CLOSED

rhiskey avatar rhiskey commented on July 28, 2024
AUTHENTICATION_SERVICE_UNAVAILABLE Explicit user authorization is required to use Spotify. The user has to complete the auth-flow to allow the app to use Spotify on their behalf com.spotify.error.user_not_authorized

from android-sdk.

Comments (5)

rhiskey avatar rhiskey commented on July 28, 2024 2

UP

from android-sdk.

LidiiaPl avatar LidiiaPl commented on July 28, 2024 1

Is the solution found? I'm facing the same issue.

from android-sdk.

rhiskey avatar rhiskey commented on July 28, 2024

@rhiskey can you check if you're using correct debug and release package SHA1 fingerprints for your app package names in the developer dashboard?

@veronikapetruskova
Sure, double-checked and added SHA1 fingerprints once again, so here's request:

Spotify Auth starting with the request [https://accounts.spotify.com/authorize?client_id=XXXXXX&response_type=token&redirect_uri=http%3A%2F%2Fcom.PUBLISHER.NAME%2Fcallback&show_dialog=false&utm_source=spotify-sdk&utm_medium=android-sdk&utm_campaign=android-sdk&scope=streaming%20user-read-private%20playlist-read%20playlist-read-private]

and responce:
image

image

from android-sdk.

rhiskey avatar rhiskey commented on July 28, 2024
 Message from Spotify: [3,{"message":"Explicit user authorization is required to use Spotify. The user has to complete the auth-flow to allow the app to use Spotify on their behalf"},"com.spotify.error.user_not_authorized"]
2023-08-18 23:39:59.552  6689-6689  SPOTIFY_APP_REMOTE      com.XXX.XXXX D  Connection failed.
                                                                                                    com.spotify.protocol.client.error.RemoteClientException: {"message":"Explicit user authorization is required to use Spotify. The user has to complete the auth-flow to allow the app to use Spotify on their behalf"}
                                                                                                    	at com.spotify.protocol.client.RemoteWampClient.getRemoteClientException(RemoteWampClient.java:130)
                                                                                                    	at com.spotify.protocol.client.RemoteWampClient.access$200(RemoteWampClient.java:16)
                                                                                                    	at com.spotify.protocol.client.RemoteWampClient$1.onAbort(RemoteWampClient.java:43)
                                                                                                    	at com.spotify.protocol.client.WampRouterImpl.routeAbort(WampRouterImpl.java:100)
                                                                                                    	at com.spotify.protocol.client.WampRouterImpl.route(WampRouterImpl.java:26)
                                                                                                    	at com.spotify.protocol.client.AppProtocolCommunicator.onData(AppProtocolCommunicator.java:77)
                                                                                                    	at com.spotify.android.appremote.internal.RemoteServiceIo.handleMessage(RemoteServiceIo.java:108)
                                                                                                    	at com.spotify.android.appremote.internal.RemoteServiceIo.access$000(RemoteServiceIo.java:45)
                                                                                                    	at com.spotify.android.appremote.internal.RemoteServiceIo$IncomingHandler.handleMessage(RemoteServiceIo.java:86)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:201)
                                                                                                    	at android.os.Looper.loop(Looper.java:288)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:7872)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

from android-sdk.

haashem avatar haashem commented on July 28, 2024

me too.

from android-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.