I never used oauth before, so i wanted my app to open a url on system\'s default browser, then the user logs in, authorize, etc etc and then i need to send back the authoriz
There are multiple options, here are some of them:
Google recommends #2 and #3 for desktop applications. #1 is normally used for mobile: https://developers.google.com/accounts/docs/OAuth2InstalledApp