CU

cursor-sso-integration

Facilitates SSO integration for Cursor Business and Enterprise plans using SAML or OIDC.

Install

mkdir -p .claude/skills/cursor-sso-integration && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/1605" && unzip -o skill.zip -d .claude/skills/cursor-sso-integration && rm skill.zip

Installs to .claude/skills/cursor-sso-integration

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Configure SAML 2.0 and OIDC SSO for Cursor with Okta, Microsoft Entra
69 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Configure SAML 2.0 SSO with Okta, Entra ID, or Google Workspace
  • Set up OIDC SSO with compliant identity providers
  • Enable SCIM provisioning for user and group synchronization
  • Verify company domains for SSO activation
  • Troubleshoot common SSO configuration issues

How it works

The skill guides through configuring SAML 2.0 or OIDC by exchanging metadata between Cursor and an Identity Provider, and optionally sets up SCIM for automated user and group management.

Inputs & outputs

You give it
Identity Provider metadata XML or URL, SCIM token, DNS TXT record
You get back
Configured Single Sign-On and optional SCIM provisioning for Cursor

When to use cursor-sso-integration

  • Setting up SAML authentication with Okta
  • Configuring Entra ID for Cursor
  • Verifying company domain and identity provider settings

About this skill

Cursor SSO Integration

Configure Single Sign-On for Cursor using SAML 2.0 or OIDC. Available on Business and Enterprise plans. Supports Okta, Microsoft Entra ID (Azure AD), Google Workspace, and any SAML 2.0 / OIDC compliant IdP.

Prerequisites

  • Cursor Business or Enterprise subscription
  • Admin access to both Cursor organization and Identity Provider
  • Verified company domain in Cursor admin dashboard
  • Understanding of SAML 2.0 or OIDC concepts

SSO Configuration: Okta

Step 1: Create SAML Application in Okta

  1. Okta Admin Console > Applications > Create App Integration
  2. Select SAML 2.0
  3. App name: "Cursor IDE"

Step 2: Configure SAML Settings

Single Sign-On URL (ACS URL):
  https://cursor.com/api/auth/saml/callback

Audience URI (Entity ID):
  https://cursor.com/api/auth/saml

Name ID format: EmailAddress
Application username: Email

Attribute Statements:
  email    → user.email       (Required)
  name     → user.firstName + " " + user.lastName  (Optional)

Step 3: Download IdP Metadata

After creating the app in Okta:

  1. Go to the app's "Sign On" tab
  2. Click "Identity Provider metadata" link
  3. Save the XML file

Step 4: Upload to Cursor

  1. Cursor Admin Dashboard > SSO
  2. Select "SAML 2.0"
  3. Upload the IdP metadata XML (or paste the metadata URL)
  4. Save configuration

Step 5: Test

  1. Open Cursor incognito
  2. Sign in with your @company.com email
  3. Should redirect to Okta login
  4. After auth, return to Cursor authenticated

SSO Configuration: Microsoft Entra ID

Step 1: Register Enterprise Application

  1. Azure Portal > Entra ID > Enterprise applications > New application
  2. Create your own application > "Cursor IDE"
  3. Select "Integrate any other application you don't find in the gallery (Non-gallery)"

Step 2: Configure SAML

In the enterprise app > Single sign-on > SAML:

Basic SAML Configuration:
  Identifier (Entity ID):     https://cursor.com/api/auth/saml
  Reply URL (ACS URL):        https://cursor.com/api/auth/saml/callback
  Sign-on URL:                https://cursor.com

Attributes & Claims:
  Unique User Identifier:     user.mail
  email:                      user.mail
  name:                       user.displayname

Step 3: Download Federation Metadata XML

In Entra ID app > SAML Signing Certificate > Download "Federation Metadata XML"

Step 4: Upload to Cursor

Same as Okta Step 4: Admin Dashboard > SSO > Upload metadata.

SSO Configuration: Google Workspace

Step 1: Create SAML App

  1. Google Admin Console > Apps > Web and mobile apps > Add app > Add custom SAML app
  2. App name: "Cursor IDE"

Step 2: Configure

ACS URL:        https://cursor.com/api/auth/saml/callback
Entity ID:      https://cursor.com/api/auth/saml
Name ID format: EMAIL
Name ID:        Basic Information > Primary email

Step 3: Download IdP Metadata

Google provides this during app creation. Save the metadata XML.

Step 4: Upload to Cursor

Admin Dashboard > SSO > Upload metadata.

SCIM Provisioning (Enterprise Only)

SCIM 2.0 automatically syncs users and groups from your IdP to Cursor:

What SCIM Handles

OperationTriggerCursor Action
User created in IdPOkta/Entra creates userSeat assigned in Cursor
User deactivated in IdPOkta/Entra deactivatesSeat revoked in Cursor
Group membership changeUser added/removed from groupRole updated in Cursor

SCIM Setup (Okta Example)

  1. Cursor Admin Dashboard > SCIM > Generate SCIM token

  2. In Okta > Cursor app > Provisioning > Enable SCIM

  3. Configure:

    SCIM connector base URL: https://cursor.com/api/scim/v2
    Unique identifier field: email
    Authentication mode: Bearer token
    Bearer token: [paste token from Cursor]
    
  4. Enable: Create Users, Deactivate Users, Push Groups

Domain Verification

Required before SSO activation:

  1. Cursor Admin Dashboard > Domains > Add domain

  2. Add DNS TXT record:

    Type:  TXT
    Host:  _cursor-verification
    Value: cursor-verify=xxxxxxxxxxxxxxxxxxxx
    
  3. Wait for DNS propagation (up to 48 hours, usually minutes)

  4. Click "Verify" in Cursor admin

Rollout Strategy

Phase 1: Pilot (1 week)

[ ] Configure SSO with test users only
[ ] Verify sign-in flow works end-to-end
[ ] Test: new user SSO sign-in creates Cursor account
[ ] Test: sign-out and re-sign-in preserves settings
[ ] Test: IdP session timeout triggers re-auth in Cursor
[ ] Document any issues or friction points

Phase 2: Gradual Rollout (2 weeks)

[ ] Enable SSO for one team/department
[ ] Monitor sign-in success rate in admin dashboard
[ ] Collect feedback on the auth experience
[ ] Resolve any IdP attribute mapping issues

Phase 3: Organization-Wide

[ ] Enable SSO requirement for all users
[ ] Disable password-based login (optional)
[ ] Enable SCIM for automatic provisioning
[ ] Set up IdP group → Cursor role mapping
[ ] Document SSO in company IT wiki

Troubleshooting

IssueCauseFix
"SAML Response Invalid"Wrong ACS URL or Entity IDVerify URLs match exactly
User not created after SSOSCIM not enabled or email mismatchCheck SCIM logs in IdP
"Domain not verified"DNS record not propagatedWait, then re-verify
Redirect loop after SSOBrowser cookies corruptedClear cookies for cursor.com
SSO works but wrong roleGroup mapping misconfiguredCheck IdP group assignments
"No seat available"All seats assignedPurchase more seats or revoke unused

Enterprise Considerations

  • MFA enforcement: Apply MFA policy at the IdP level (Okta/Entra). Cursor defers to IdP for MFA.
  • Session timeout: Configure session lifetime in IdP. Cursor respects IdP session expiry.
  • Emergency access: Keep one admin account with email/password login in case SSO is misconfigured
  • Compliance: SSO provides centralized access logging at the IdP level for audit trails
  • Cost: SSO is included in Business ($40/user/mo) and Enterprise plans. No additional SSO fee.

Resources

When not to use it

  • When not on a Cursor Business or Enterprise plan
  • When lacking admin access to both Cursor and the Identity Provider

Prerequisites

Cursor Business or Enterprise subscriptionAdmin access to both Cursor organization and Identity ProviderVerified company domain in Cursor admin dashboardUnderstanding of SAML 2.0 or OIDC concepts

Limitations

  • MFA enforcement is handled at the IdP level
  • Session timeout is configured in the IdP
  • SSO is included in Business and Enterprise plans only

How it compares

This automates user authentication and provisioning for Cursor, unlike manual user management or individual password logins.

Compared to similar skills

cursor-sso-integration side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
cursor-sso-integration (this skill)427dReviewIntermediate
1password272moReviewIntermediate
security-compliance197moReviewAdvanced
information-security-manager-iso27001117moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

More by jeremylongshore

View all by jeremylongshore

analyzing-logs

jeremylongshore

Analyze application logs to detect performance issues, identify error patterns, and improve stability by extracting key insights.

14123

ollama-setup

jeremylongshore

Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs. Trigger phrases: "install ollama", "local AI", "free LLM", "self-hosted AI", "replace OpenAI", "no API costs". Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

1167

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

generating-database-seed-data

jeremylongshore

Process this skill enables AI assistant to generate realistic test data and database seed scripts for development and testing environments. it uses faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. u... Use when working with databases or data models. Trigger with phrases like 'database', 'query', or 'schema'.

1033

cursor-codebase-indexing

jeremylongshore

Execute set up and optimize Cursor codebase indexing. Triggers on "cursor index setup", "codebase indexing", "index codebase", "cursor semantic search". Use when working with cursor codebase indexing functionality. Trigger with phrases like "cursor codebase indexing", "cursor indexing", "cursor".

885

testing-mobile-apps

jeremylongshore

Execute mobile app testing on iOS and Android devices/simulators. Use when performing specialized testing. Trigger with phrases like "test mobile app", "run iOS tests", or "validate Android functionality".

810

Search skills

Search the agent skills registry