Skip to content

Conversation

@judgeaxl
Copy link

@judgeaxl judgeaxl commented Mar 7, 2022

We used to store device_id logins like "username" with a blank identity type, but we now store them as "uuid:username" and the "uuid" identity type. While the goal is to migrate these automatically, we do need a way to fall back and pick up the old names where the upgrade has not yet run, or failed for whatever reason.

@judgeaxl judgeaxl requested a review from einarth March 7, 2022 08:30
@judgeaxl judgeaxl self-assigned this Mar 7, 2022
judgeaxl added 3 commits May 23, 2022 22:37
- The identity storage model has changed and all logins should be using
an identity marker. Old users that have been added before this, will not
have the marker and while the idea is to migrate the IDs in the DB we
still need a fallback to where these may have been created during the
upgrade, or where the upgrade for some reason fail to take all the
correct identities into account.
@judgeaxl judgeaxl force-pushed the feature/legacy-auth-fallback branch from 2ee6c3d to 204d830 Compare May 23, 2022 14:39
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.

1 participant