12-29-2024 02:04
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

12-29-2024 02:04
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I am using Resberry Pi to get web Oauth2 from python_fitbit. For Resberry Pi, the loopback address is 0.0.0.0. If use 127.0.0.1 as Redirect URL when registering Fitbit app, it will show
'''This site can be reached.
127.0.0.1 refused to connect.'''
I search through Resberry Pi forum and seems like Resberry Pi needs to use 0.0.0.0 for loopback. However if I set Redirect URL as http://0.0.0.0:22/ ,it said
- Callback url http://0.0.0.0:22/ protocol is HTTP. HTTPS is required.
How can I solve it?
Thank you.
01-06-2025 01:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-06-2025 01:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @abp2024
I don't know if Raspberry PI requires 0.0.0.0 for redirection, but try the callback URL as https://0.0.0.0:22.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

