Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: correct Cal.com OAuth authorize URL and fix connect button overflow

Louis Beaumonte95afdac21b3
diff --git a/apps/screenpipe-app-tauri/components/settings/connections-section.tsx b/apps/screenpipe-app-tauri/components/settings/connections-section.tsx
index 1fbec4abb..a74ab4665 100644
--- a/apps/screenpipe-app-tauri/components/settings/connections-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/connections-section.tsx
@@ -1033,7 +1033,7 @@ function OAuthPanel({ integrationId, integrationName }: { integrationId: string;
<LogOut className="h-3 w-3" />disconnect
</Button>
) : (
- <Button onClick={handleConnect} disabled={status === "loading"} size="sm" className="gap-1.5 h-7 text-xs normal-case font-sans tracking-normal">
+ <Button onClick={handleConnect} disabled={status === "loading"} size="sm" className="gap-1.5 h-7 text-xs normal-case font-sans tracking-normal whitespace-nowrap">
{status === "loading"
? (<><Loader2 className="h-3 w-3 animate-spin" />connecting...</>)
: (<><LogIn className="h-3 w-3" />connect with {integrationName}</>)}
diff --git a/crates/screenpipe-connect/src/connections/calcom.rs b/crates/screenpipe-connect/src/connections/calcom.rs
index 200d8ac4f..5759c5794 100644
--- a/crates/screenpipe-connect/src/connections/calcom.rs
+++ b/crates/screenpipe-connect/src/connections/calcom.rs
@@ -12,7 +12,7 @@ use serde_json::{Map, Value};
// Set redirect URI to http://localhost:3030/connections/oauth/callback
// Then replace the client_id below with the registered value.
static OAUTH: OAuthConfig = OAuthConfig {
- auth_url: "https://api.cal.com/oauth/authorize",
+ auth_url: "https://app.cal.com/auth/oauth2/authorize",
client_id: "e9e319206428a99bfcb2207e51f827c96c1ed24821458a8633356e80632575dd",
extra_auth_params: &[],
redirect_uri_override: None,