From 2a1a0f393d7456c2b8ecdf8e7f3441f7dce7906a Mon Sep 17 00:00:00 2001 From: Anmol1696 Date: Thu, 5 Feb 2026 20:24:10 +0400 Subject: [PATCH] feat: make auth optional on first run Remove blocking auth requirement on first launch. Users now see a warning that no auth is configured but the container starts anyway. Auth can be configured later in the Control UI. --- app/macos/Sources/OpenClawLib/OpenClawLauncher.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/macos/Sources/OpenClawLib/OpenClawLauncher.swift b/app/macos/Sources/OpenClawLib/OpenClawLauncher.swift index 6f32762..cc5779c 100644 --- a/app/macos/Sources/OpenClawLib/OpenClawLauncher.swift +++ b/app/macos/Sources/OpenClawLib/OpenClawLauncher.swift @@ -173,10 +173,9 @@ public class OpenClawLauncher: ObservableObject { // Check for expired OAuth tokens and attempt refresh await refreshOAuthIfNeeded() - // Pause for auth on first run + // Note if no auth configured (non-blocking - user can configure in Control UI) if isFirstRun && !authProfileExists() && !oauthCredentialsExist() { - state = .needsAuth - return + addStep(.warning, "No model auth configured — set up in Control UI") } try await continueAfterSetup()