[MN-04] Identity: Fix Google Callback Error Handling and Logging #18

Merged
mjasin merged 1 commits from fix/issue-3-identity-callback-errors into develop 2026-05-07 17:27:40 +00:00
Owner

This PR implements proper logging and error handling for the Google OAuth callback as requested in issue #3.

Changes:

  • Added ILogger<Program> to the Google callback endpoint.
  • Logged warning if external login info is null.
  • Logged error details from userManager.CreateAsync if provisioning fails.
  • Introduced specific error codes UserAlreadyExists and LockedOut to improve UX.
  • Updated Login.razor to display descriptive Polish error messages based on the query parameter.

Fixes #3

This PR implements proper logging and error handling for the Google OAuth callback as requested in issue #3. ### Changes: - Added `ILogger<Program>` to the Google callback endpoint. - Logged warning if external login info is null. - Logged error details from `userManager.CreateAsync` if provisioning fails. - Introduced specific error codes `UserAlreadyExists` and `LockedOut` to improve UX. - Updated `Login.razor` to display descriptive Polish error messages based on the query parameter. Fixes #3
mjasin added 1 commit 2026-05-07 17:26:06 +00:00
mjasin merged commit 775fb73fa9 into develop 2026-05-07 17:27:40 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mjasin/Nexus.Reader#18