Skip to content

Auth Retry Release#1006

Open
franco-zalamena-iterable wants to merge 5 commits intomasterfrom
autoretry-master
Open

Auth Retry Release#1006
franco-zalamena-iterable wants to merge 5 commits intomasterfrom
autoretry-master

Conversation

@franco-zalamena-iterable
Copy link
Contributor

✏️ Description

Following a successful bugbash, we now have to merge the Auto retry into master.

  • Implement auto-retry logic for JWT auth failures in offline request
    processing (SDK-342). When a queued task gets a 401 JWT error and autoRetry is
    enabled via remote config, the task is retained in the DB and processing
    pauses until a valid token is obtained via an AuthTokenReadyListener callback.
  • Add endpoint classification so unauthenticated endpoints (e.g.,
    disableDevice, mergeUser) continue processing during an auth pause while
    JWT-required tasks wait.
  • Add auth state machine (VALID/INVALID/UNKNOWN) to IterableAuthManager to
    coordinate pause/resume between IterableRequestTask, IterableTaskRunner, and
    the auth refresh flow.

Co-authored-by: Franco Zalamena <franco.zalamena@iterable.com>
Co-authored-by: “Akshay <“ayyanchira.akshay@gmail.com”>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants