79cfb65590
The IdpTokenRefresher was incorrectly using overwrite.cli.url (the external URL like http://localhost:8080) for internal token refresh requests. This URL is not accessible from inside Docker containers since port 8080 is only mapped on the host machine. Changed getNextcloudBaseUrl() to: - Always use http://localhost (internal port 80) by default - Added optional astrolabe_internal_url config for custom setups - Removed overwrite.cli.url usage (intended for external URLs only) This fixes 401 errors in Astrolabe semantic search when OAuth tokens need to be refreshed in containerized deployments. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>