OAuth 2.0 Authorization
Secure, token-based access to RevenueCat's API using OAuth 2.0
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.
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:
- Register your OAuth client with our support team
- Implement the authorization flow in your application
- Use access tokens to make API requests on behalf of users
Next Steps
- Set up OAuth integration - Complete implementation guide
- View available scopes - See what permissions you can request
- Learn about token management - Handle access and refresh tokens