-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: store multiple tokens #3272
feat: store multiple tokens #3272
Conversation
bfff952
to
fd853da
Compare
@Prakhar-Agarwal-byte unit tests are failing, it expects the new schema. Can you fix that? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good initial draft, I'll need to review this PR locally once after the comments are addressed and the tests are passing before approval.
I think this PR should also be merged first: #3122 Before we think of multiple token, we need to make storing tokens safer |
Signed-off-by: Prakhar Agarwal <[email protected]>
Signed-off-by: Prakhar Agarwal <[email protected]>
9b3dbd7
to
6f2d81b
Compare
…m schema 6 to 7 Signed-off-by: Prakhar Agarwal <[email protected]>
fdef85f
to
2e7f7ea
Compare
I will do a thorough testing on logged in phones / non logged in phones and verify the user is not logged out before merging. |
Verified and merged! |
* feat: store multiple tokens Signed-off-by: Prakhar Agarwal <[email protected]> * fix: update persistent state property names, update test Signed-off-by: Prakhar Agarwal <[email protected]> * fix: current token should be present in all tokens when migrating from schema 6 to 7 Signed-off-by: Prakhar Agarwal <[email protected]> --------- Signed-off-by: Prakhar Agarwal <[email protected]>
* feat: store multiple tokens Signed-off-by: Prakhar Agarwal <[email protected]> * fix: update persistent state property names, update test Signed-off-by: Prakhar Agarwal <[email protected]> * fix: current token should be present in all tokens when migrating from schema 6 to 7 Signed-off-by: Prakhar Agarwal <[email protected]> --------- Signed-off-by: Prakhar Agarwal <[email protected]>
Token management for #3273