twenty-oauth-masteryProvides expert OAuth 2.0 implementation, troubleshooting, and token management for Twenty CRM with Google/Microsoft OAuth and email/calendar sync integration.
Install via ClawdBot CLI:
clawdbot install avirweb/twenty-oauth-masteryGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Calls external URL not in known-safe list
https://isearch.1791technology.comAudited Apr 17, 2026 · audit v1.0
Generated Mar 22, 2026
A company wants to integrate Google Workspace for email and calendar sync in Twenty CRM. This scenario involves setting up Google OAuth with proper token handling and domain restrictions for secure access. The skill guides through configuring Passport strategies and ensuring automatic sync triggers post-authentication.
After deploying Twenty CRM, users experience redirect loops during OAuth login, causing login failures. This scenario requires debugging backend compilation issues and cookie settings to resolve the loop. The skill provides steps to rebuild the server and adjust cookie configurations for accessibility.
An organization with multiple email domains (e.g., company.com and company.co) needs to allow all users to authenticate via OAuth. This scenario involves modifying domain enforcement in strategies, controllers, and database settings to include allowed domains. The skill details code changes and database updates for seamless access.
Users successfully log in via OAuth but connected accounts and sync channels are not created, disrupting email and calendar integration. This scenario focuses on ensuring tokens are preserved in the validate method and verifying sync service calls. The skill offers code fixes and validation checks to restore functionality.
A business wants to integrate Microsoft OAuth for authentication and data sync in Twenty CRM, requiring setup of Passport strategies and token management. This scenario covers implementing Microsoft OAuth with proper scopes and handling token refresh for reliable operations. The skill provides patterns and troubleshooting for common issues.
Offer Twenty CRM with OAuth integration as a subscription service, charging per user or tier for features like Google/Microsoft sync. Revenue comes from monthly or annual fees, with upsells for advanced authentication options and support.
Provide expert consulting to businesses implementing or troubleshooting OAuth in Twenty CRM, including custom domain setups and sync integrations. Revenue is generated through project-based fees or hourly rates for deployment and maintenance.
Deliver managed OAuth services for Twenty CRM, handling token refresh, security configurations, and ongoing monitoring for clients. Revenue streams include setup fees and ongoing management contracts with service-level agreements.
💬 Integration Tip
Ensure tokens are preserved in the Passport strategy validate method to enable automatic sync, and regularly rebuild the backend after code changes to prevent redirect loops.
Scored Jun 19, 2026
Self-hosted auth for TypeScript/Cloudflare Workers with social auth, 2FA, passkeys, organizations, RBAC, and 15+ plugins. Requires Drizzle ORM or Kysely for D1 (no direct adapter). Self-hosted alternative to Clerk/Auth.js. Use when: self-hosting auth on D1, building OAuth provider, multi-tenant SaaS, or troubleshooting D1 adapter errors, session caching, rate limits, Expo crashes, additionalFields bugs.
Clerk integration. Manage Users, Organizations. Use when the user wants to interact with Clerk data.
Clerk auth with API Keys beta (Dec 2025), Next.js 16 proxy.ts (March 2025 CVE context), API version 2025-11-10 breaking changes, clerkMiddleware() options, webhooks, production considerations (GCP outages), and component reference. Prevents 15 documented errors. Use when: API keys for users/orgs, Next.js 16 middleware filename, troubleshooting JWKS/CSRF/JWT/token-type-mismatch errors, webhook verification, user type inconsistencies, or testing with 424242 OTP.
Start and complete WordPress.com OAuth and publish posts through the WordPress.com REST API. Use when you need to generate an authorization URL, exchange cal...
Configures Firebase Authentication — providers, security rules, custom claims, and React auth hooks
Use when auditing Go code involving authentication flows, RBAC policies, Kubernetes admission webhooks, JWT/OAuth token validation, or privilege escalation i...