Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Plan
Premium
Country
USA
Device
Pixel 4 API 30 (emulator)
My Question or Issue
I am trying to create a simple Android app that can connect to Spotify to control music playback. From what I have read, the SpotifyAppRemote API is perfect for this. I am following the instructions in the quick start guide exactly. However, when I try to run the application, I get a message saying
"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"
From the guide, the ".showAuthView(true)" statement should make a window pop up and allow the user to log in and authorize the application. However, this window never pops up so the authentication never occurrs.
Can someone please help me understand what is going on? I have followed every instruction on the quick start guide.
Thank you.
Hey! Two things to check:
- Replace the CLIENT_ID and REDIRECT_URI constants with your own values.
- Don't forget to add your REDIRECT_URI value to the "Redirect URIs" list in your app settings, as stated in the "Register your App" section from the guide.
Hope it helps!
I have been suddenly experiencing the same issue, after months of clean authentication!
Anyone found a solution?
When I double check my SHA key and package name from application dashboard I saw that it was wrong SHA key and I updated SHA-1 Key from application dashboard > Edit Settings > Android Packages section. It worked for me.
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game…