I wanted to make an electron app that uses Apple's MusicKitjs API. However, the authorize function opens another window. This causes problems with electron since each window is sandboxed. The authentication does not seem to be OAuth which rules out a tool like AppAuth-JS.
Any ideas on how to implement non-OAuth API authentication in electron?