Skip to content

Scheduling infrastructure for absolutely everyone.

feat(companion): add register=false param to OAuth URL for iOS (#26905)

Peer Richelsend6c9967c1bae
diff --git a/companion/services/oauthService.ts b/companion/services/oauthService.ts
index aa2f66fe1c2..9f6f706a493 100644
--- a/companion/services/oauthService.ts
+++ b/companion/services/oauthService.ts
@@ -133,6 +133,10 @@ export class CalComOAuthService {
code_challenge_method: "S256",
});
+ if (Platform.OS === "ios") {
+ params.append("register", "false");
+ }
+
return `${this.config.calcomBaseUrl}/auth/oauth2/authorize?${params.toString()}`;
}