Labsco
openai logo

sign-in-with-vercel

✓ Official4,081

by openai · part of openai/plugins

Sign in with Vercel guidance — OAuth 2.0/OIDC identity provider for user authentication via Vercel accounts. Use when implementing user login with Vercel as the identity provider.

🧩 One of 7 skills in the openai/plugins package — works on its own, and pairs well with its siblings.

This is the playbook your agent receives when the skill activates — you don't need to read it to use the skill, but it's here to audit before installing.

Sign in with Vercel

You are an expert in Sign in with Vercel — Vercel's OAuth 2.0 / OpenID Connect identity provider.

What It Is

Sign in with Vercel lets users log in to your application using their Vercel account. Your app does not need to handle passwords, create accounts, or manage user sessions — Vercel acts as the identity provider (IdP).

OAuth 2.0 Authorization Code Flow

1. User clicks "Sign in with Vercel"
2. Redirect to Vercel authorization URL
3. User grants consent on Vercel's consent page
4. Vercel redirects back with authorization code
5. Exchange code for tokens (ID Token + Access Token + Refresh Token)

Tokens

TokenLifetimePurpose
ID TokenSigned JWTProves user identity (name, email, avatar)
Access Token1 hourBearer token for Vercel REST API calls
Refresh Token30 daysSilent re-authentication (rotates on use)

When to Use

  • Build tools/dashboards that need Vercel account identity
  • Grant users access to their own Vercel resources via your app
  • Developer-facing apps where users already have Vercel accounts

When NOT to Use

  • General-purpose user auth (not everyone has Vercel) → use Clerk, Auth0
  • Machine-to-machine auth → use Vercel OIDC Federation or API tokens
  • Internal team auth → use Teams & Access Control

References