What's the modern answer to handing off information from a web page to a local daemon?
Binding to a fixed localhost port risks port conflicts. Custom protocol handlers look like a massive pain especially on Linux.
This is for an OAuth flow, so I guess a fixed localhost port lets me avoid a jump off another domain.
