mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 20:55:57 +03:00
[GH-ISSUE #550] Fitbit expired token not handled #365
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#365
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ivarunpatel on GitHub (Oct 3, 2019).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/550
Description:
Fitbit expired token not handled
Expire token response:
Here,
key expired_token is not handled.
{"errors":[{"errorType":"expired_token","message":"Access token invalid: MY Token. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process."}],"success":false}
Error handling code should be replaced with below code:
OAuth Provider? (Twitter, Github, ..):
FitBit
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version: