Update: solved on my side, and it may be worth checking yours @maurockstar. My site sent "Referrer-Policy: no-referrer" on every page. With that policy the authorize.music.apple.com popup gets an empty document.referrer and can't hand the Music User Token back, so authorize() fails with AUTHORIZATION_ERROR "Unauthorized" right after Allow. Changing the header to "Referrer-Policy: strict-origin" fixed it immediately, on the same 3.2526.0-prerelease build. Check your server headers, any <meta name="referrer"> tag in the page, and rel="noreferrer" on links. (Credit to the vibez project, which hit the same problem: github.com/simonepelosi/vibez/issues/182)
Topic:
Media Technologies
SubTopic:
Audio
Tags: