Hi all,
Really struggling with this one... seems to have started happening when i started using sign in with Google on my account.
- create the app as usual: npx create-fitbit-app ......
- navigated to folder
- npx fitbit
- stephendaniels@Stephens-MacBook-Pro lego % npx fitbit
No login information, starting login...
Making a request to AuthorizationRequest {
crypto: NodeCrypto {},
usePkce: true,
clientId: '22D2CP',
redirectUri: 'http://127.0.0.1:13579',
scope: 'profile',
responseType: 'code',
state: '3CT7r9WtG0',
extras: {
code_challenge: 'DipfKKdgIZ4jKvIlzghvZCwfqnz7n8-4k17ZHzkbnX4',
code_challenge_method: 'S256'
},
internal: {
code_verifier: 'yfGlvp1LSDQcJcRIRIba209V7x1erWvF8qtwEvMmC9MuTk3MIHjZAuCH5SxBYouqiCg9UjHkvls243ZXckFA4UT2oDZDEfu4jCePPF29NEAd9AQjSoK6uLutgxd0xFWN'
}
} https://api.fitbit.com:443/oauth2/authorize?redirect_uri=http%3A%2F%2F127.0.0.1%3A13579&client_id=22...
Handling Authorization Request URLSearchParams { 'code' => '544c57f86dbbcc12aa7004179c136bbd91e62531', 'state' => '3CT7r9WtG0' } 3CT7r9WtG0 544c57f86dbbcc12aa7004179c136bbd91e62531 null
Checking to see if there is an authorization response to be delivered.
Login failed: Invalid response body while trying to fetch https://api.fitbit.com/oauth2/token: read ECONNRESET - Tried installing this: npm install @openid/appauth@1.2.8
- No login information, starting login...
Login failed: Invalid response body while trying to fetch https://api.fitbit.com/oauth2/token: read ECONNRESET
ive tried googling, chatgpting... and everything in between.. can anyone help with this?