Error when authenticate from ember (?)

Hello,

whenever I try to authenticate a MusicKit instance the popup alway shows 'Problem Connecting There may be a network issue. '. When reloading the popup it shows the login screen, but after I did log in it shows the same error page again.

On the first error screen I get the following error in the console, which seams to be an errors from ember js.

Error while processing route: woa Failed to construct 'URL': Invalid URL TypeError: Failed to construct 'URL': Invalid URL

TypeError: Failed to construct 'URL': Invalid URL

On the second error page I find the following error in the console:

Error while processing route: oauth-screen

This happens both on Brave and Safari.

Is this a bug or did i something wrong?

My Code:

<html>

<head>
    <script src="https://js-cdn.music.apple.com/musickit/v1/musickit.js"></script>
</head>

<body>
    <script>
        document.addEventListener('musickitloaded', function () {
            MusicKit.configure({
                developerToken: 'My token',
                debug: true,
                suppressErrorDialog: false
            });

            let music = MusicKit.getInstance();

            music.authorize().then(function (response) {
                console.log(response);
            });
        });
    </script>
</body>

</html>

Seems like a global problem for me. None of the apps built on MusicKit JS can authenticate my user.

Hello, @CptCookie

Would you mind filing a ticket on Feedback Assistant, including screen recordings or screenshots of the problem you’re encountering? This will help us investigate this issue further.

Error when authenticate from ember (?)
 
 
Q