System: OAuth
Oauth Callback
OAuth callback endpoint.
Provider redirects here after user authorizes. Exchanges code for tokens.
get/api/v1/oauth/{provider}/callback
Path parameters
provider'apple' | 'samsung' | 'garmin' | 'google' | 'polar' | 'suunto' | 'whoop' | 'strava' | 'oura' | 'fitbit' | 'ultrahuman' | 'sensorbio' | 'unknown' | 'internal' required
Supported data providers.
Query parameters
codestring nullable
Authorization code from provider
Authorization code from provider
statestring nullable
State parameter for CSRF protection
State parameter for CSRF protection
errorstring nullable
error_descriptionstring nullable
Response
Successful Response
{"stackTrail":"paths:/api/v1/oauth/{provider}/callback:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
Changed in 1 of the 9 revisions of this API.1
- ○
added the new enum value
sensorbioto thepathrequest parameterproviderrequest-parameter-enum-value-added
This revision also has 17 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○