spotify / ios-sdk

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

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

Open intergalacticspacehighway opened 1 year ago

intergalacticspacehighway commented 1 year 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 4 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!