Helix.ID
Sign In

Testing & credentials · 1 min

v0.2.1 · Updated 17 Sep 2026View as Markdown

Testing & credentials

Built-in sandbox credentials for local development, importable from the SDK itself.

Sandbox credentials

Use the built-in test credentials for local development. Import them from the @helix-id/node/testing sub-path.

js
import { createAuthUrl } from "@helix-id/node";
import { HELIX_TEST_SPACE_ID, HELIX_TEST_SECRET, HELIX_TEST_CALLBACK_URL } from "@helix-id/node/testing";

const { url, nonce, sig } = await createAuthUrl({
  spaceId: HELIX_TEST_SPACE_ID,
  state: "test",
  origin: new URL(HELIX_TEST_CALLBACK_URL).origin,
  secret: HELIX_TEST_SECRET,
  env: "sandbox",
});
CredentialValue
Space IDa1b2c3d4-e5f6-7890-abcd-ef1234567890
Secrettk_test_hx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Callback URLhttp://localhost:8080/helix/callback