ios-sdk icon indicating copy to clipboard operation
ios-sdk copied to clipboard

OAuth failure - returns wrong grant_type

Open gingerdudley opened this issue 6 years ago • 1 comments

Hello, I am currently trying to incorporate the Spotify iOS API into my Swift application. I have followed along with the login demo and am now trying to replace the localhost:1234 fields with my own token url. The call back from Spotify to my app is resulting in an error with the message "invalid_grant" and "Authorization Failed" I have attached an image of my code to set up the configuration var. Is there anything I am missing in the set up or doing wrong that you guys can help me find? We have been working for a while and still want to use your API if we can set it up. Thanks!

Screen Shot 2019-04-14 at 12 12 01 AM

gingerdudley avatar Apr 14 '19 07:04 gingerdudley

Hey did you ever figured this out? I am having the same issue, #58 suggested to use another repo with the rb script but upon doing a diff is the exact same file.

Edit: Ok I had the wrong bundle identifier and also the wrong callback, now getting Authorization Failed The operation couldn't complete.

TheFern2 avatar Oct 11 '24 22:10 TheFern2