Skip to content

Add Google Health API authorization support#332

Open
this-Aditya wants to merge 6 commits into
devfrom
google-health-api
Open

Add Google Health API authorization support#332
this-Aditya wants to merge 6 commits into
devfrom
google-health-api

Conversation

@this-Aditya
Copy link
Copy Markdown
Member

A new authorization service handles Google's oauth2 flow.
Because the same participant may already have a Fitbit account from before the Google Health migration, the identity payload also carries an optional legacy Fitbit user ID, so we can keep both linked to the same RestSourceUser without losing history.

PKCE is enabled for Google as an extra security layer on top of the standard oauth2 flow. If it turns out Google's auth servers don't play nicely with the PKCE flow in , I'll drop it and fall back to the plain oauth2 path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate source authorization from Fitbit OAuth to Google Health API OAuth

1 participant