Tidal has an app for PCs.
The app is an electron app.
If you need to log in through the electron app, it bounces you to a regular web browser, sends you through a login flow, and then does the "this web page wants to open a url in this app" to receive its login verification back from the regular web browser.
…
WHY
WHY
HOW