iOS and MacOS (possibly Android too?) allow apps to respond to custom scheme (protocol), allowing redirect URL to look like: myoauth://oauth-callback/hubspot This works fine with dropbox, google, etc. but Hubspot requires an HTTP/S protocol,
read more