Integrate secure authentication and AI rights management into your applications with our OAuth 2.0 API
OAuth 2.0 with PKCE flow, AES-256-GCM encryption, and zero-knowledge architecture ensure maximum security for your users.
Simple REST API with comprehensive documentation and SDKs for popular programming languages.
Access user's AI rights tokens (AIVID, AIPLT, SLIVR) and verified identity information with consent.
// 1. Redirect user to AIVerID authorization const authUrl = new URL('https://aivisibilityrights.com/oauth/authorize'); authUrl.searchParams.append('client_id', 'YOUR_CLIENT_ID'); authUrl.searchParams.append('redirect_uri', 'YOUR_CALLBACK_URL'); authUrl.searchParams.append('response_type', 'code'); authUrl.searchParams.append('scope', 'openid profile email'); authUrl.searchParams.append('state', generateRandomState()); window.location.href = authUrl.toString(); // 2. Handle callback and exchange code for tokens const code = new URLSearchParams(window.location.search).get('code'); const response = await fetch('https://api.aivisibilityrights.com/oauth/token', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ grant_type: 'authorization_code', code: code, client_id: 'YOUR_CLIENT_ID', client_secret: 'YOUR_CLIENT_SECRET', redirect_uri: 'YOUR_CALLBACK_URL' }) });
Register your application to get OAuth credentials
Email us at developers@aivisibilityrights.com