SKCloudServiceController's requestPersonalizationToken returns expired token in iOS 14

Originator:tanmay.sonawane
Number:rdar://FB8082757 Date Originated:07/21/2020
Status:Open Resolved:
Product:StoreKit Framework Product Version:iOS 14 Beta 2
Classification:Bug Reproducible:Always
 
Last reproduced on iOS 14 (18A5319i) on an iPhone X.

Steps to reproduce: 

1. Generate a valid MusicKit Developer Token.
2. Use SKCloudServiceController's `requestPersonalizationToken(forClientToken:completionHandler:)` function to get a user token.
3. Perform an Apple Music API request that specifically requires a user token, for example fetching Recommendations (https://developer.apple.com/documentation/applemusicapi/recommendations).
4. Apple Music API callback will fail with a 403 error code and error as Invalid authentication.

This happens only on iOS 14. All iOS versions before that including the latest iOS 13 do not exhibit this issue.

Comments

meows.app +1

also too


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!