Too Long; Didn't Read
Microsoft Data Platform MVP based in Auckland, New Zealand, is building his own personal health platform in Azure. We can generate a refresh and access token required to call the Fitbit API programmatically with a simple Timer trigger function. By default, these tokens will expire after 8 hours. We need to use an Azure Function Timer Trigger to request new access tokens and Azure Key Vault to store these tokens securely. This article will show you how to refresh your Access Tokens for the FitBit API using Azure Functions and Key Vault.