简体   繁体   中英

Spotify ios SDK Login: Invalid Redirect URI

After I login into Spotify and connect it with my app, an error comes up saying:

INVALID_CLIENT: Invalid Redirect URI.

I have registered my redirect URI with Spotify and ensured that it is the same one used in my code. I have created a URL type with the scheme from my redirect URI and a specific Identifier, but I am still getting the error. Any thoughts?

Be sure to have the redirect URL on Spotify match exactly the url used in the code. If the two URLs are different, the app will not work.

In addition, be sure that all your URL schemes are correct. Normally the error occurs when a URL scheme or the redirect URL are not entered correctly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM