[GH-ISSUE #101] Reconnect #64

Closed
opened 2026-03-03 16:45:21 +03:00 by kerem · 2 comments
Owner

Originally created by @gabriel-jones on GitHub (Sep 2, 2015).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/101

The library should be extended to work with Reconnect APIs (revalidating OAuth tokens). See Intuit Reconnect API here .

Originally created by @gabriel-jones on GitHub (Sep 2, 2015). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/101 The library should be extended to work with Reconnect APIs (revalidating OAuth tokens). See Intuit Reconnect API <a href ="https://developer.intuit.com/docs/0050_quickbooks_api/0020_authentication_and_authorization/oauth_management_api#/Reconnect" target="_blank"> here </a>.
kerem 2026-03-03 16:45:21 +03:00
Author
Owner

@phimage commented on GitHub (Sep 29, 2015):

did you see other api provide the same protocol to reconnect? with similar error code
or there is a RFC?

if not, this is a specific "extension", not to integrate by default in the OAuthSwift framework (could be an other project)

there is also Disconnect

<!-- gh-comment-id:144121594 --> @phimage commented on GitHub (Sep 29, 2015): did you see other api provide the same protocol to reconnect? with similar error code or there is a RFC? if not, this is a specific "extension", not to integrate by default in the OAuthSwift framework (could be an other project) there is also Disconnect
Author
Owner

@phimage commented on GitHub (Dec 1, 2015):

After reading the Inuit doc, this not generic and will not be implemented as a generic feature
XML parsing is necessary

You must do a get request on url described in doc
Get the xml, parse it with some swifty xml library
Check if error, and of not get token and token secret and do

oauth.client.credential.oauth_token = { token from xml}
oauth.client.credential.oauth_token_secret = {secret token from xml}
<!-- gh-comment-id:160931587 --> @phimage commented on GitHub (Dec 1, 2015): After reading the Inuit doc, this not generic and will not be implemented as a generic feature XML parsing is necessary You must do a get request on url described in doc Get the xml, parse it with some swifty xml library Check if error, and of not get token and token secret and do ``` swift oauth.client.credential.oauth_token = { token from xml} oauth.client.credential.oauth_token_secret = {secret token from xml} ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#64
No description provided.