DEV Community

Discussion on: Reverse engineering Apple's MusicKitJS to create Apple Music Strategy for PassportJS

Collapse
 
daleyjem profile image
Jeremy Daley

I feel your pain, man. This is the only resource I can find online that mentions this. While "Sign in with Apple" gives you the ability to pass in redirect_url and all that stuff to an actual auth URL, they decided Apple Music would not? Sigh. It's a bad design indeed. For me it's mostly because if a user comes from a Facebook post to our site, it's within a WebView component, which doesn't pop up a new window to the Music URL but instead navigates to it within the same browser instance. So there's essentially no way for me to see what was returned, not to mention it can't window.close() anyway, so you're just stuck on the auth page.