Skip to content

Feat/seedless refresh token - #5917

Merged
lwin-kyaw merged 228 commits into
mainfrom
feat/seedless-refresh-token
Jun 13, 2025
Merged

Feat/seedless refresh token#5917
lwin-kyaw merged 228 commits into
mainfrom
feat/seedless-refresh-token

Conversation

@tuna1207

@tuna1207tuna1207 commented Jun 4, 2025

Copy link
Copy Markdown
Member

Explanation

Add refresh token and revoke refresh token handling to SeedlessOnboardingController

  • persist refresh token in state
  • store revoke token in vault
  • check for token expired in toprf call, refresh token and retry
  • revoke refresh token and replace with new one after password submit to prevent malicious use if refresh token leak in persisted state

References

Changelog

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed, highlighting breaking changes as necessary
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

lwin-kyawand others added 30 commits April 10, 2025 12:40
Co-authored-by: himanshuchawla009 <himanshuchawla2014@gmail.com>
…Controller.ts
Co-authored-by: himanshuchawla009 <himanshuchawla2014@gmail.com>
…Controller.ts
Co-authored-by: himanshuchawla009 <himanshuchawla2014@gmail.com>
…Controller.ts
Co-authored-by: himanshuchawla009 <himanshuchawla2014@gmail.com>
…Controller.ts
Co-authored-by: himanshuchawla009 <himanshuchawla2014@gmail.com>
…Mask/core into feat/seedless-onboarding-controller
@tuna1207
tuna1207 requested a review from a team as a code ownerJune 4, 2025 10:21
@tuna1207
tuna1207 requested a review from a team as a code ownerJune 4, 2025 10:24

@lwin-kyawlwin-kyaw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Hi @chaitanyapotti@himanshuchawla009, need your reviews too )

@himanshuchawla009himanshuchawla009 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

keyringId,
},
});
// store/persist the encryption key shares

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these comments should be moved before line 303

@lwin-kyaw
lwin-kyaw merged commit db401c1 into mainJun 13, 2025
@lwin-kyaw
lwin-kyaw deleted the feat/seedless-refresh-token branch June 13, 2025 08:06
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@tuna1207@himanshuchawla009@lwin-kyaw@chaitanyapotti@ieow