/usr/share/accounts/providers/fitbit.provider is in account-plugin-fitbit 4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | <?xml version="1.0" encoding="UTF-8"?>
<provider id="fitbit">
<name> FitBit </name>
<icon>fitbit</icon>
<plugin>generic-oauth</plugin>
<domains>*fitbit\.com</domains>
<template>
<group name="auth">
<setting name="method">oauth2</setting>
<setting name="mechanism">HMAC-SHA1</setting>
<group name="oauth2">
<group name="HMAC-SHA1">
<setting name="RequestEndpoint">https://api.fitbit.com/oauth/request_token</setting>
<setting name="TokenEndpoint">https://api.fitbit.com/oauth/access_token</setting>
<setting name="AuthorizationEndpoint">https://www.fitbit.com/oauth/authorize</setting>
<setting name="Callback">https://www.fitbit.com/</setting>
<setting name="ConsumerKey">e47deba61e904c469392040aee772092</setting>
<setting name="ConsumerSecret">a5ae28cb96854344834e7174b881d88d</setting>
<setting type="as" name="AllowedSchemes">['https','http']</setting>
</group>
</group>
</group>
</template>
</provider>
|