overview changedmanage-claude/oauth-apps/overview
Nearest release: v2.1.330, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+6added
Lines−8removed
From line
10
where the diff opens
First seen
17 Nov 2026
this site's first read of the page
Recorded edits3to this page, all time
## Let customers pay for their own Claude usage ## What you can build ### Let customers pay for their own Claude usage
The whole hunk
from line 10, old and new numbered
/
from line 10
1010
1111Claude Platform OAuth lets your users bill their Claude organization for usage within your app.
1212
13## What you can build
13## Let customers pay for their own Claude usage
1414
15### Let customers pay for their own Claude usage
15When your product calls Claude, you can bill the usage to each customer’s own Claude organization. This is Linked billing. Your users click a **Link your Claude organization** button, sign in to Claude, and approve your app. They must have the Admin or Billing role in their Claude organization.
1616
17When your product calls Claude, the usage can be billed to your customers’ own Claude organization. Your users click a **Link your Claude organization** button, sign in to Claude, and approve your app. For Linked billing, the user must have the Admin or Billing role in their Claude organization.
18
1917After that:
2018
2119* You choose on each Claude API request whether the customer pays or you pay.
from line 36
3836The approval page shows your app’s name and what your app is asking for, so the person knows what they’re approving.
3937
4038<Note>
41 If you’ve worked with OAuth before: Claude Platform OAuth uses the OAuth 2.0 authorization code flow with PKCE, with Anthropic as the authorization server.
39 Claude Platform OAuth uses the OAuth 2.0 authorization code flow with PKCE. Anthropic is the authorization server.
4240</Note>
4341
4442## One-time OAuth app setup
from line 46
4846These steps need the Admin role in your Claude organization.
4947
50481. **Create the app.** In the Claude Console, create an OAuth app and copy its client ID. The app holds the name that people see on the approval page and the address in your product that they return to.
512. **Set up client authentication.** Instead of a client secret, your back end proves that a request comes from your app with a short-lived token from your own identity provider, such as AWS, Google Cloud, Microsoft Entra ID, or Kubernetes. You select the identity provider, and which of its tokens to accept, on the app’s **Client authentication** tab.
523. **Set up your back end’s identity.** Create a service account and a second federation rule with [Workload Identity Federation](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation), and select the service account as the app’s operator service account.
492. **Set up client authentication.** Instead of a client secret, your back end uses a short-lived token to prove that a request comes from your app. The token comes from your own identity provider, such as AWS, Google Cloud, or Kubernetes. On the app’s **Client authentication** tab, you select the identity provider and which of its tokens to accept.
503. **Set up your back end’s identity.** Create a service account and a second federation rule with [Workload Identity Federation](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation). Select the service account as the app’s [operator service account](https://platform.claude.com/docs/en/manage-claude/oauth-apps/oauth-reference#terms), which your back end uses to bill customers.
5351
5452## Next steps
5553
5654The Linked billing guide walks you through setup and your first linked customer.
5755
58<CardGroup cols={3}>
56<CardGroup cols={2}>
5957 <Card title="Linked billing" icon="coins" href="https://platform.claude.com/docs/en/manage-claude/oauth-apps/organization-billing-connections">
6058 Let your customers pay for the Claude usage in your product from their own Claude organization
6159 </Card>
No line in this hunk matches that.