Already filed a bug report about this (FB8082757) but posting here incase anyone knows a workaround.
Since iOS 14 Beta 2, the requestPersonalizationToken(forClientToken:completionHandler:) returns an invalid token and prevents any personalised Apple Music API requests from working.
Last reproduced on iOS 14 (18A5319i) on an iPhone X.
Steps to reproduce:
Since iOS 14 Beta 2, the requestPersonalizationToken(forClientToken:completionHandler:) returns an invalid token and prevents any personalised Apple Music API requests from working.
Last reproduced on iOS 14 (18A5319i) on an iPhone X.
Steps to reproduce:
Generate a valid MusicKit Developer Token.
Use SKCloudServiceController's requestPersonalizationToken(forClientToken:completionHandler:) function to get a user token.
Perform an Apple Music API request that specifically requires a user token, for example fetching Recommendations (developer.apple.com/documentation/applemusicapi/recommendations).
Apple Music API callback will fail with a 403 error code and error as Invalid authentication.