{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/ios-sdk/issues/543","labels_url":"https://api.github.com/repos/spotify/ios-sdk/issues/543/labels{/name}","comments_url":"https://api.github.com/repos/spotify/ios-sdk/issues/543/comments","events_url":"https://api.github.com/repos/spotify/ios-sdk/issues/543/events","html_url":"https://github.com/spotify/ios-sdk/issues/543","id":122954663,"number":543,"title":"Critical issue with \" loginURLForClientId \" - Swift project","user":{"login":"RudyRosciglione","id":1166152,"avatar_url":"https://avatars.githubusercontent.com/u/1166152?v=3","gravatar_id":"","url":"https://api.github.com/users/RudyRosciglione","html_url":"https://github.com/RudyRosciglione","followers_url":"https://api.github.com/users/RudyRosciglione/followers","following_url":"https://api.github.com/users/RudyRosciglione/following{/other_user}","gists_url":"https://api.github.com/users/RudyRosciglione/gists{/gist_id}","starred_url":"https://api.github.com/users/RudyRosciglione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RudyRosciglione/subscriptions","organizations_url":"https://api.github.com/users/RudyRosciglione/orgs","repos_url":"https://api.github.com/users/RudyRosciglione/repos","events_url":"https://api.github.com/users/RudyRosciglione/events{/privacy}","received_events_url":"https://api.github.com/users/RudyRosciglione/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-18T14:09:36Z","updated_at":"2015-12-28T12:07:50Z","closed_at":null,"body":"I followed Brian Advent tutorial about implement Spotify login button. I did strictly all he did : https://www.youtube.com/watch?v=GeO00YdJ3cE -- But it sound like Xcode doesn't recognised \"loginURLForClientId\". I mean when I start to type it, Xcode doesn't show any autocomplete, accept \"loginURL\". the same for \"declaredRedirectURL\". \r\n\r\n<img width=\"1552\" alt=\"screen shot 2015-12-18 at 23 36 18\" src=\"https://cloud.githubusercontent.com/assets/1166152/11908843/27d5f824-a5e0-11e5-8955-1a59a02fde36.png\">\r\n\r\nDoes any know if \"loginURLForClientId\" was change by something else? \r\n\r\nExport of the SPTAuth - the line who is wrong it declare here.. \r\n\r\n```\r\n///----------------------------\r\n/// @name Starting Authentication\r\n///----------------------------\r\n\r\n/**\r\n A URL that, when opened, will begin the Spotify authentication process.\r\n */\r\n@property (readonly) NSURL *loginURL;\r\n\r\n\r\n/**\r\n Returns a URL that, when opened, will begin the Spotify authentication process.\r\n\r\n @warning You must open this URL with the system handler to have the auth process\r\n happen in Safari. Displaying this inside your application is against the Spotify ToS.\r\n\r\n @param clientId Your client ID as declared in the Spotify Developer Centre.\r\n @param redirectURL Your callback URL as declared in the Spotify Developer Centre.\r\n @param scopes The custom scopes to request from the auth API.\r\n @param responseType Authentication response code type, defaults to \"code\", use \"token\" if you want to bounce directly to the app without refresh tokens.\r\n @return The URL to pass to `UIApplication`'s `-openURL:` method.\r\n */\r\n+ (NSURL *)loginURLForClientId:(NSString *)clientId withRedirectURL:(NSURL *)redirectURL scopes:(NSArray *)scopes responseType:(NSString *)responseType;\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/spotify/ios-sdk/issues/comments/167554063","html_url":"https://github.com/spotify/ios-sdk/issues/543#issuecomment-167554063","issue_url":"https://api.github.com/repos/spotify/ios-sdk/issues/543","id":167554063,"user":{"login":"JohnyBeG","id":16372963,"avatar_url":"https://avatars.githubusercontent.com/u/16372963?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnyBeG","html_url":"https://github.com/JohnyBeG","followers_url":"https://api.github.com/users/JohnyBeG/followers","following_url":"https://api.github.com/users/JohnyBeG/following{/other_user}","gists_url":"https://api.github.com/users/JohnyBeG/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnyBeG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnyBeG/subscriptions","organizations_url":"https://api.github.com/users/JohnyBeG/orgs","repos_url":"https://api.github.com/users/JohnyBeG/repos","events_url":"https://api.github.com/users/JohnyBeG/events{/privacy}","received_events_url":"https://api.github.com/users/JohnyBeG/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T12:07:50Z","updated_at":"2015-12-28T12:07:50Z","body":"@iGGNoRe : I tried your SFVC-Spotify-Login from your github but I can't login. I filled all elements but when in Safari, I can't return to the app. Do you know why ?\r\nMoreover you quoted here to use : \r\n\r\nauth.tokenRefreshURL = NSURL(string:kTokenRefreshServiceURL)\r\nauth.tokenSwapURL = NSURL(string:kTokenSwapServiceURL)\r\n\r\nbut it's not used in your app. Why ?\r\nThe token paragraph disappeared from spotify tutorial"}}