BLOG-94 Create user in DB when first login through OIDC #96

Merged
squid merged 4 commits from BLOG-94_create_user_when_first_login into main 2025-08-01 13:24:09 +08:00

4 Commits

Author SHA1 Message Date
ef7db7424a BLOG-94 fix: improve error handling for user retrieval
All checks were successful
Frontend CI / build (push) Successful in 1m8s
PR Title Check / pr-title-check (pull_request) Successful in 16s
2025-08-01 13:10:28 +08:00
d349fd672c BLOG-94 refactor: rename db mapper
All checks were successful
Frontend CI / build (push) Successful in 1m9s
Auto Comment On PR / add_improve_comment (pull_request) Successful in 16s
PR Title Check / pr-title-check (pull_request) Successful in 16s
2025-08-01 12:52:48 +08:00
8f8857ee8e BLOG-94 refactor: change image ID from Option<i32> to i32 in Image struct and related mappers
All checks were successful
Frontend CI / build (push) Successful in 1m12s
2025-08-01 12:49:36 +08:00
e8f7f96677 BLOG-94 feat: create user when first login through OIDC
- Introduced UserDbService and UserDbServiceImpl for user data handling.
- Added UserMapper for converting between User and UserRecord.
- Implemented user creation and retrieval in the database.
- Updated AuthRepository to include user-related methods.
- Enhanced OIDC claims processing to include issuer information.
- Created user table in the database with necessary fields and indexes.
2025-08-01 12:48:11 +08:00