Skip to content
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

Migrate AuthDb to the Element X session storage #8663

Open
bmarty opened this issue Oct 9, 2023 · 0 comments
Open

Migrate AuthDb to the Element X session storage #8663

bmarty opened this issue Oct 9, 2023 · 0 comments
Assignees

Comments

@bmarty
Copy link
Member

bmarty commented Oct 9, 2023

In order to let the EA application to upgrade to EXA codebase, we need to first migrate the existing session credentials to the EXA session storage.

After a quick check, we need to also migrate the data on EXA to have two new field that are present to EA:

  • isTokenValid: Boolean used to store the fact the the token is not valid anymore (401). EXA does not yet properly handle this user story
  • loginType: String. Values are here

Also, EXA request to store the sliding sync url, this is not done by EA. This is quite a blocker here, since EA does not require a sliding sync proxy to run on. We may default to the homeserver url, or retrieve it again from the .well-known, but we cannot do network request during the database migration...

Context: element-hq/element-x-android#86

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

No branches or pull requests

1 participant