rokwire / core-building-block

Building block which handles core functions for the Rokwire platform - users, accounts, profiles, organizations, authentication and authorization.
Apache License 2.0
3 stars 2 forks source link

[TASK] Refactor account auth types #674

Closed roberlander2 closed 1 month ago

roberlander2 commented 1 year ago

Description

We should split the current version of AccountAuthType into a new, smaller version of AccountAuthType and a new object to represent account identifiers. This will fully decouple account identifiers from credentials like passwords and passkeys. Credential verification should be replaced by account identifier verification, and a database migration will need to occur to make sure accounts and credentials match new data models.

Acceptance Criteria