Skip to content

[CI] Conformance: adapter exits — dev service token < 32 chars (cookie secret) #109

Description

@Bccorb

With the FRONTEND_URL fix (#107) the auth-api now boots, and the conformance run gets far enough to bring up the adapter — which then exits (surfaced by the new setup-failure log dump):

adapter-1 | Error: cookieSecret must be at least 32 characters...
dependency failed to start: container seamless-verify-adapter-1 exited (1)

The adapter reuses API_SERVICE_TOKEN as its COOKIE_SIGNING_KEY, and seamless verify defaulted the token to "verify-dev-service-token" (24 chars). A newer @seamless-auth/express rejects a cookie secret shorter than 32.

Fix: default the dev service token (and bootstrap secret) to >=32-char constants in src/commands/verify.ts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cliSeamless CLIbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions