Skip to content

Error page labels every error as "Google sign-in failed" #32

Done

Description

@saqibmanan

What: Error.tsx shows "Google sign-in failed" for every error except account creation, and hides Keycloak's message.
Why it matters: Password users see a Google error for an invalid redirect_uri, an unknown client, an expired session or an already-linked account.
Evidence: redirect_uri=http://evil.example.com/cb → "Google sign-in failed".
Fix: not fixed — show the Google copy only for identity-provider errors, and Keycloak's message otherwise.

Activity

  1. added
    bug
    on Sep 25, 2026
  2. added theissue type on Sep 25, 2026
  3. saqibmanan commented on Sep 25, 2026

    @saqibmanan
    ContributorAuthor

    Repro (no login needed)

    • /realms/DataSpace/protocol/openid-connect/auth?client_id=dataspace&response_type=code&redirect_uri=http://evil.example.com/cb → "Google sign-in failed"
    • client_id=no-such-client → "Google sign-in failed"
    • Second Google identity for an account already linked to Google → HTTP 409, error=identityProviderAlreadyLinkedToCurrentUserMessage → "Google sign-in failed"

    Expected: Google copy only for identity-provider errors; Keycloak's own message otherwise.

  4. saqibmanan commented on Nov 26, 2026

    @saqibmanan
    ContributorAuthor

    Closed by the release PR #48 (2026-11-26), which shipped the login redesign (#46) to production. Verified on prod: Keycloak tests all green, https://github.com/CivicDataLab/DataSpaceKeycloakTheme/actions/runs/45819611391

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

Metadata

Metadata

Assignees

Labels

bug

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions