Skip to content

[FEAT] Improve error feedback when GitHub authentication fails #1529

@tharunika-19

Description

@tharunika-19

Description

When GitHub authentication fails, users are redirected back to the sign-in page, but there is no clear explanation of what went wrong.

This can be confusing for users and contributors, especially during local setup and OAuth configuration.

Steps to Reproduce

  1. Open the sign-in page.
  2. Trigger a GitHub authentication failure.
  3. Observe the page after redirect.

Current Behavior

  • User is redirected back to the sign-in page.
  • No descriptive error message is displayed.
  • The reason for the failure is unclear.

Expected Behavior

  • Display a user-friendly error message.
  • Explain that GitHub authentication failed.
  • Provide guidance on possible next steps.

Suggested Fix

  • Detect authentication failures.
  • Display an inline error banner or alert.
  • Show a clear message explaining the failure.

Impact

Improves user experience and makes authentication issues easier to understand and troubleshoot.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggssoc:assignedGSSoC: Issue assigned to a contributorneeds-triageNeeds maintainer triage

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions