Getting Started

Welcome to the ConsentKeys documentation. This guide will help you get started with integrating OAuth 2.0 authentication into your application.

Overview

ConsentKeys provides privacy-focused OAuth 2.0 and OpenID Connect authentication. Users authenticate with pseudonymous identities, protecting their real information while still allowing your application to function normally.

Quick Setup

  1. Create an application in the developer portal
  2. Configure your redirect URIs
  3. Wait for approval (usually within 24 hours)
  4. Integrate the OAuth flow into your application

Key Concepts

  1. Pseonymous Identity: Users get unique, consistent identities per application
  2. Privacy-First: Real user data is never exposed to your application
  3. Standard OAuth: Uses standard OAuth 2.0 and OpenID Connect protocols
  4. Email Forwarding: Pseudonymous email addresses forward to real addresses

Base URLs

Authorization Server: /auth
Discovery URL: undefined/.well-known/openid-configuration

For Vibecoders

Ready to dive in and start building? We've got you covered with starter code that you can clone and customize for your projects.

🚀 Quick Start Repository

Clone our starter repository to get up and running with ConsentKeys integration in minutes:

The starter code uses BetterAuth for authentication management. You can also read the official Better Auth documentation for more details on customization and advanced features.