06-16-2021 05:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-16-2021 05:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello,
Currently I'm integrating Fitbit API in iOS. During authentication getting error page "Sorry, the page is following a different trail" [Error Page Link] when call authorize api "https://www.fitbit.com/oauth2/authorize". I follow all instruction as mentioned on fitbit oauth page. I created app on dev.fitbit.com and setup Demo accordingly.
Also I searched this error but not able to find relatable solution.
Here is mentioned details which I used for,
Platform: iOS
Swift: 5
OAuth2.0 Library: OAuthSwift
AuthorizeUrl: "https://www.fitbit.com/oauth2/authorize"
AccessTokenUrl: "https://api.fitbit.com/oauth2/token"
Simulator: Error Page Link
Followed all steps properly and let me know if any other details required from my side.

06-17-2021 07:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



06-17-2021 07:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Just to confirm, when calling the authorize API are you seeing the scopes or fitbit login page, or are you receiving the error message?
Gordon
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
06-20-2021 20:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-20-2021 20:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello, @Gordon-C
When calling the authorize API first time able to see login page, after login I got this error message. Also, again calling the authorize API then display error page.
Sunil

06-22-2021 10:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



06-22-2021 10:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Would you please private message me your entire authorization URL? Let me review it to determine there are no problems.
Thanks!
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

