Skip to main content

OAuth 2.0 Authorization

Secure, token-based access to RevenueCat's API using OAuth 2.0

AIAsk AIChatGPTClaude

RevenueCat's OAuth 2.0 authorization server enables secure, token-based access to our API on behalf of developers. This allows third-party applications and tools to access RevenueCat data with explicit developer consent.

📘Intended use

OAuth is for third-party integrations and tools that access RevenueCat on behalf of developers. If you're calling the REST API for your own account or project, create a secret API key instead.

Why Use OAuth?

For third-party integrations, OAuth tokens provide several advantages over API keys:

  • Developer-level access across all projects a user has access to
  • Granular permission scopes to limit access to only what's needed
  • Enhanced security with automatic token expiration
  • User consent — developers explicitly authorize what data can be accessed

Supported Flow

RevenueCat currently supports the Authorization Code flow with PKCE (Proof Key for Code Exchange) enforcement for public clients. This flow is secure for both server-side applications and native/mobile apps.

Getting Started

To use OAuth with RevenueCat:

  1. Register your OAuth client with our support team
  2. Implement the authorization flow in your application
  3. Use access tokens to make API requests on behalf of users

Next Steps

Was this page helpful?