No `oauth_callback` parameter in Garmin oauthConfirm URI
See original GitHub issueUsing express and trying to get the garmin flow working.
The URI for the redirect doesn’t seem to have any oauth_callback
parameter in it
https://connect.garmin.com/oauthConfirm?oauth_token=<redacted>
My config.json
{
"defaults": {
"origin": "https://example.local:3000",
"transport": "session"
},
"twitter": {
"key": "[CONSUMER_KEY]",
"secret": "[CONSUMER_SECRET]",
"callback": "/handle_twitter_callback"
},
"garmin":{
"key": "[redacted]",
"secret": "[redacted]",
"callback": "/handle_garmin_callback"
}
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
OAuth custom HTTP param - Garmin Connect Web
How can I pass a custom param to authorizePath step (https://connect.garmin.com/oauthConfirm) and get it back along with oauth_token and oauth_verifier?
Read more >OAuthSwift (1) connection - Stack Overflow
So, this part of code open the connection page of garmin in safari, i use my account mail/pwd to connect and that's all....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes that makes sense. The confusion comes from that you have a
redirect_uri
andcallback
, but Garmin wants to you configure acallback url
in the app settings, which is the same as yourredirect_uri
I can see how this can be confusing. I tried explaining it here. The gist of it is that:
redirect_uri
is the one that you have to set for your app, and it always have to ends with/[provider]/callback
callback
path, but that is where you want to receive the response data@ir-fuel let me know if that makes sense, also feel free to open up another issue if you see fit.