Skip to content

Conversation

dollaransh17
Copy link

  • Replace TODO comment with comprehensive OAuth user error handling
  • Add dedicated helper method for OAuth error messaging with future extensibility
  • Provide clear, actionable error message directing users to correct sign-in method
  • Improve UX by explaining why password login fails for OAuth users
  • Add documentation for potential future enhancements (provider-specific guidance)

This resolves the TODO comment about triggering password reset flow for OAuth users by providing better user experience through clear messaging rather than automatic password reset, which could be confusing for users who intentionally signed up with OAuth.

What changed? Why was the change needed?

Screenshots

Expand for optional sections

Related enterprise PR

Special notes for your reviewer

@netlify
Copy link

netlify bot commented Oct 3, 2025

👷 Deploy request for dashboard-v2-novu-staging pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 264ea4a

@dollaransh17 dollaransh17 force-pushed the improve/enhance-login-oauth-handling branch from 804de28 to 36ddcfa Compare October 3, 2025 20:46
@dollaransh17 dollaransh17 changed the title improve(auth): enhance OAuth user login error handling and guidance refactor(auth): enhance OAuth user login error handling and guidance Oct 3, 2025
- Replace TODO comment with comprehensive OAuth user error handling
- Add dedicated helper method for OAuth error messaging with future extensibility
- Provide clear, actionable error message directing users to correct sign-in method
- Improve UX by explaining why password login fails for OAuth users
- Add documentation for potential future enhancements (provider-specific guidance)

This resolves the TODO comment about triggering password reset flow for OAuth users
by providing better user experience through clear messaging rather than automatic
password reset, which could be confusing for users who intentionally signed up with OAuth.
@dollaransh17 dollaransh17 force-pushed the improve/enhance-login-oauth-handling branch from 36ddcfa to 264ea4a Compare October 3, 2025 20:53
@dollaransh17 dollaransh17 changed the title refactor(auth): enhance OAuth user login error handling and guidance refactor(api): enhance OAuth user login error handling and guidance Oct 3, 2025
@scopsy
Copy link
Contributor

scopsy commented Oct 8, 2025

Closing as the PR lacks the reason or need for this change via an issue

@scopsy scopsy closed this Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants