spotify / ios-sdk

Spotify SDK for iOS
https://developer.spotify.com/documentation/ios/
661 stars 188 forks source link

Recommended way to get auth response type "code" in iOS sdk #364

Open intergalacticspacehighway opened 2 years ago

intergalacticspacehighway commented 2 years ago

Issue

Android SDK has a feature where we can pass AuthorizationResponse.Type.CODE to get the authorization code instead of a token Docs. Is there similar feature available on iOS SDK?

There is a method in delegate shouldRequestAccessTokenWithAuthorizationCode where we can get the authorization code. Is this code the same as the authorization code?

Thank you!

lfabl commented 1 year ago

++++

stomataln commented 7 months ago

I am wondering why the two SDK behaves so differently. I am in the boat of wanting to get the Auth code in iOS too!