Skip to content
CCPEDIAby Unity Nodes
CLOSEDIssue

Wallet Gateway login on a no-auth validator: prefilled Client ID `wallet-user` does not exist, and the error is cryptic

#3120by joel-daCreated 04-12-2026

Problem

On a Splice 0.10.5 Docker Compose validator deployed with -g and without -a (no authentication), the Wallet Gateway login form for the "Splice validator" network shows:

  • Client ID: wallet-user (prefilled)
  • Client Secret: empty

A new user has no way to know what to enter. If they keep the prefilled wallet-user and enter unsafe as the secret, sign-in appears to succeed, then the Parties page shows:

Unexpected Error: Client version missing from response

Gateway log:

Error: Client version missing from response
    at LedgerClient.parseSupportedVersions (core-ledger-client/dist/index.js)
WARN  Error in getWithRetry for path /v2/parties/participant-id
ERROR Wallet sync failed.

Participant log (the actual cause):

PERMISSION_DENIED: Could not resolve is_deactivated status for user 'wallet-user'
and identity_provider_id 'Default' due to 'UserNotFound(wallet-user)'

Root cause

  1. The compose overlay compose-wallet-gateway-disable-auth.yaml hard-codes "clientId": "wallet-user" for the self-signed network. No validator creates that ledger user. The only user a fresh validator has is ledger-api-user, the participant admin user, which also backs the adminAuth entry of the same config.
  2. The self-signed token's sub is the Client ID, and the participant rejects it with UserNotFound, so GET /v2/version returns an error body.
  3. LedgerClient.init() reads data?.version without checking the response status. It throws Client version missing from response, which hides the 403 and the real reason.
  4. The login form doesn't explain what to enter. The correct instruction exists only in the Docker Compose docs ("enter your username as the Client ID, replacing the prefilled one, and unsafe as the Client Secret").

Manual workaround: either log in with ledger-api-user / unsafe, or create the wallet-user ledger user on the participant (POST /v2/users) and restart the gateway.

Proposed solution

  1. Prefill a Client ID that exists. In the no-auth overlay, set the self-signed network clientId to ledger-api-user, which exists on every validator, instead of wallet-user. Alternatively, have the gateway or overlay create the wallet-user ledger user at startup using the existing adminAuth.
  2. Explain the form. For self_signed networks, login-form.ts already supports a help object with info and docsUrl. Use it to say: "No authentication is configured. Enter the ID of an existing ledger user as Client ID (for example ledger-api-user) and unsafe as the Client Secret. Local testing only." Link to the Docker Compose docs section "Wallet Gateway and Splice Portfolio" (https://docs.canton.network/global-synchronizer/deployment/validator-docker-compose).
  3. Surface the real error. In LedgerClient.init() (core-ledger-client), check the response status of GET /v2/version. On 401/403 or an error body, report that, for example "Ledger API rejected the token: user 'X' not found", instead of "Client version missing from response".

Acceptance criteria

  • On a fresh start.sh ... -g deployment without -a, logging in with the prefilled values and unsafe loads the Parties page without errors.
  • The login form shows guidance and a docs link for self-signed networks.
  • A rejected token produces an error message that names the status code and the cause.

Environment

  • Splice 0.10.5 Docker Compose validator, DevNet, no authentication, start.sh -g
  • wallet-gateway v1.13.0, splice-portfolio v1.14.0, participant Canton 3.7.6