From eee04fa2ce1930a390de2665cca55bb7fd83ecdd Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 10 Jan 2026 03:54:25 +0000 Subject: [PATCH] fix(onboard): persist gateway token in config --- src/commands/onboard-non-interactive.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/commands/onboard-non-interactive.ts b/src/commands/onboard-non-interactive.ts index d0e930585..0b54de492 100644 --- a/src/commands/onboard-non-interactive.ts +++ b/src/commands/onboard-non-interactive.ts @@ -384,7 +384,11 @@ export async function runNonInteractiveOnboarding( ...nextConfig, gateway: { ...nextConfig.gateway, - auth: { ...nextConfig.gateway?.auth, mode: "token" }, + auth: { + ...nextConfig.gateway?.auth, + mode: "token", + token: gatewayToken, + }, }, }; }