# Vercel: method can now return "apple", "bitbucket", "chatgpt", "claude", "github", "gitlab", "google"

> Source: <https://driftwatch.et/changes/vercel-2026-12-04-5c213226>
> Published: 2026-12-04 07:32:31+00:00

**Key takeaway:** Vercel's UserEvent.payload.method now returns seven new values (apple, bitbucket, chatgpt, claude, github, gitlab, google) on top of email-otp, recovery-code, totp and webauthn, so exhaustive switches and generated client enums must add branches or handle unknown values instead of throwing.

## What changed

Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

Affects `payload.method` on `UserEvent` reachable from 1 operation.

New values: `apple`, `bitbucket`, `chatgpt`, `claude`, `github`, `gitlab`, `google`.

can now return "apple", "bitbucket", "chatgpt", "claude", "github", "gitlab", "google"

## Who is affected

Code that reads Vercel's UserEvent objects, used by 1 Vercel operation.

## Before and after

| Where | Before | After | 
|---|---|---|
| UserEvent.payload.method | "email-otp", "recovery-code", "totp", "webauthn" | "apple", "bitbucket", "chatgpt", "claude", "email-otp", "github", "gitlab", "google", "recovery-code", "totp", "webauthn" | 

## Code that breaks

```
switch (response.payload.method) {
  // existing branches …
  // no branch for "apple"
  // no branch for "bitbucket"
  // no branch for "chatgpt"
  // no branch for "claude"
  // no branch for "github"
  // no branch for "gitlab"
  // no branch for "google"
  default:
    throw new Error("unexpected method");
}
```

Based on Vercel’s published API specification. [How severity is decided](https://driftwatch.et/method).
