If anyone is still looking for a way to generate the "Music User Token" and not the Developer Token, I have created a simple solution [here](https://shivz3232.github.io/apple-music-user-token-generator/)
[Code](https://github.com/Shivz3232/apple-music-user-token-generator)