Closed bodinsamuel closed 1 week ago
This fix looks a bit messy and recursive
what else would you envision? the refresh_token is most likely outdated so I don't see any other way (except returning directly the new credentials)
This fix looks a bit messy and recursive
what else would you envision? the refresh_token is most likely outdated so I don't see any other way (except returning directly the new credentials)
Didn't have anything in mind w/o looking deeper at it, so am OK with this
Describe your changes
Should fix https://linear.app/nango/issue/NAN-1164/credal-box-connection-failing-to-refresh-intermittently
connection
reference was obsolete but we would reuse it to try to refresh again. The short term fix is to re-refetch and continue, but we could return the new credentials directly