Prerequisites
- A PrefID account (sign up free)
- An OAuth application (created in Developer Portal)
- Node.js 18+ or Python 3.9+
Step 1: Create an OAuth Application
1
Go to Developer Portal
Navigate to prefid.dev/developer and log in.
2
Create New Application
Click “Create OAuth Application” and fill in:
- App Name: Your application name
- Redirect URI:
http://localhost:3000/callback(for development) - Scopes: Select the domains you need (e.g.,
preferences:read)
3
Save Credentials
Copy your
client_id and client_secret. The secret is only shown once!