I'm new to OAuth 2 in general and I have a question related to the OAuth API in Connect IQ, and how I would use it to interact with Google's services (https://developers.google.com/identity/protocols/OAuth2InstalledApp).
- (Object) makeOAuthRequest(requestUrl, requestParams, resultUrl, resultType, resultKeys)
If I were developing an iOS or Android app, I would register a custom URI scheme within my app and use that to receive the resulting response with the authorization code. With Connect IQ, should I be redirecting (with the resultUrl parameter) to a Garmin URL to retrieve the authorization code? Or I do need to host a page on a server that handles this? I'm obviously a little confused about this step.
Thanks!