Need to rewrite accounts-api and auth-api into one service
So that we have a clean foundation for user management and authentication
Possible Steps
- Document all endpoints from both services and rename if needed (in this case preserve the old endpoints for backward compatibility)
- Create new auth-accounts-api repository and setup the project
- Write down testing strategy and add tests
- Agree on unified DB schema
- Implement auth logic (login, register, tokens)
- Implement account logic (manage accounts, tokens, permissions)
- Create a plan of the backward compatibility
- Update auth-ui to use new API endpoints
- Update accounts-ui to use new API endpoints
- Remove old services (accounts-api, auth-api)
Definition of Done
- accounts-api and auth-api are deprecated
- new unified service (e.g., auth-accounts-api) is ready
- all original functionality is preserved:
- user registration
- login & logout
- password reset
- email verification
- accounts and tenants management
- roles and permissions management
- JWT token handling
- new API is backward compatible
- new service is covered with tests which 100% pass
- new service follows the patterns of new services that we write (including .Net version 9)
Out of Scope
Possibly some of the steps will be moved to the scope of other tasks. And this task will be decomposed.
Need to rewrite accounts-api and auth-api into one service
So that we have a clean foundation for user management and authentication
Possible Steps
Definition of Done
Out of Scope
Possibly some of the steps will be moved to the scope of other tasks. And this task will be decomposed.