chore: bump @friggframework/* deps to 2.0.0-next.82#96
Merged
Conversation
Pulls in Frigg PR #582 (fix(core): explicitly persist tokens on OAuth2 re-auth) — fixes the silent token-persistence bug in ProcessAuthorizationCallback that left re-authenticated entities with stale OAuth tokens (diagnosed against Pipedrive integrations 12378 and 12379 in prod). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bump
@friggframework/*deps from2.0.0-next.81→2.0.0-next.82. Pulls in Frigg PR #582 (fix(core): explicitly persist tokens on OAuth2 re-auth).Why
Diagnosed against Pipedrive in prod (user 10, integrations 12378 + 12379, both currently
ERROR):ProcessAuthorizationCallbackrunsgetTokenbut theDLGT_TOKEN_UPDATEnotification chain that's supposed to persist the new tokens silently no-ops in prod. The user-visible/api/authorizereturns success.ERROR. User has no clear signal of what went wrong.Confirmed by decrypting credential 936: both the access_token (401 invalid) and the now-stale refresh_token (
invalid_grant) come from Feb 5, never replaced today despite two reinstalls.What's in next.82
// todoleft asentity = null).upsertCredentialaftergetTokenon the OAuth2 path. The notification chain stays in place; the explicit call ensures persistence even when the chain doesn't fire.POST /api/authorizeentry, aftergetToken, after persistence, and after restore — so future re-auth bugs surface in CloudWatch instead of running silently.restoreIntegrationsForEntitycontinues to flip linkedERROR/DISABLEDintegrations back toENABLEDon successful re-auth (existing behavior).Test plan
npm installresolves cleanly with the new versions[Frigg] processAuthorizationCallback ...log linesupdatedAtmatches the OAuth callback time (not a later auth-flip)ENABLEDand sync to resume🤖 Generated with Claude Code