I'm building an application with electron that is offered as a native binary and is hosted online. I need to integrate google sign in on both platforms, but when setting up the client ID in Google Cloud Console I have to choose between a desktop app or web application. When I only use one, it works on one but not the other. Can I detect which platform I am running on and switch the client ID based on that? Or do I just need to hand change the client ID for the website every time I push it to the server?
Repo for electron app: https://github.com/Virtual-FTC/VRS-Local-ElectronApp-base Repo for online version: https://github.com/Virtual-FTC/vrobotsim.online