Peter-Schorn / SpotifyAPIExampleApp

An Example App that demonstrates the usage of SpotifyAPI.
23 stars 8 forks source link

Safari can't open the page because the address is invalid #7

Closed Xen0o2 closed 10 months ago

Xen0o2 commented 10 months ago

Hi,

My App name is "SpotiFriend" and I put "spotifriend://login-callback" as redirect URI, in the code in Spotify class, and in my spotify application.

When I open the app, I can click "Log in with spotify", I can log, but after, when I click "accept" to redirect, safari tell me "Safari can't open the page because the address is invalid".

Thanks for your help

Xen0o2 commented 10 months ago

My bad just forget to edit a property in the Info.plist file --'

Peter-Schorn commented 10 months ago

Did you register spotifriend as a url scheme for your app? See the README.

Xen0o2 commented 10 months ago

Did you register spotifriend as a url scheme for your app? See the README.

That was exactly the problem yes, thanks