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, + }, }, }; }