Skip to content

Improve error messaging for duplicate email registration via IDP #52

Description

@JoseSzycho

Description

When a user attempts to log in using an unlinked Identity Provider (IDP), the system currently treats the request as a new registration. If the email address associated with that IDP is already registered to an existing account, the system blocks the action and throws a error.

Current Issue

The existing error message is not descriptive enough. It fails to inform the user that they should attempt to log in using their original authentication method (e.g., GitHub, Google).

Image

Proposed Changes

  • Provide Actionable Advice: Suggest logging in with a different IDP or the primary account credentials to resolve the conflict.

Related Discussions

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions