Configuration
Parameter Interface
interface CodeGenQueryParams {
client_id: string; // Required: Your app's client ID
redirect_uri?: string; // Required for instant auth. Not needed for QR code auth.
state?: string; // Optional: Additional data passed to redirect
scope?: string; // Optional: Comma-separated BitBadges API permission scopes (e.g. 'completeClaims,readClaimAlerts')
// Claim UI Options (optional)
claimId?: string; // ID of required claim
hideIfAlreadyClaimed?: boolean; // Hide if already claimed
expectVerifySuccess?: boolean;
// Expect attestation presentations
expectAttestations?: boolean;
}Key Features
1. App Configuration
2. Scopes
3. Claims
Last updated