title: Can't use Discord OAuth2 in Electron application
body: <p>I'm trying to create an Electron app (using Electron.net and MVC) with user sign-ins using Discord's OAuth2. However when loading up the OAuth2 page, Discord thinks that I'm using a broken installation of Discord. I assume that this is because the Discord desktop application also uses Electron. When not using Electron, the link opens fine.</p>
  
  <p>So far I've attempted changing the User-Agent (both in the Electron startup code and directly on the link with Javascript) used by Electron as I believed that this was how Discord was identifying the app as using Electron, however this hasn't worked. Does anyone know how else Discord might be working out that I'm using Electron and how I might get around it?</p>
  
  <p><a href="https://i.stack.imgur.com/j03y6.png" rel="nofollow noreferrer">Not sure if it adds much, but here's a screenshot of the error I get when trying to get to the Discord login page.</a></p>