···5353For production deployment:
545455551. Update the OAuth redirect URLs in both code and the Bluesky developer settings
5656-2. Make sure the client metadata file is accessible at `https://flushing.im/client-metadata.json`
5656+2. Make sure the client metadata file is accessible at `https://flushing.im/oauth-client-metadata.json`
57573. Deploy the application to Vercel
58585959## Custom Lexicon Schema
···5566const DEFAULT_AUTH_SERVER = 'https://public.api.bsky.app';
77const REDIRECT_URI = 'https://flushes.app/auth/callback';
88-const CLIENT_ID = 'https://flushes.app/client-metadata.json';
88+const CLIENT_ID = 'https://flushes.app/oauth-client-metadata.json';
991010// Function to get a nonce from the specified PDS
1111async function getNonce(pdsEndpoint: string): Promise<string | null> {
···11// Default Bluesky OAuth client configuration
22const DEFAULT_AUTH_SERVER = 'https://public.api.bsky.app';
33const REDIRECT_URI = 'https://flushes.app/auth/callback';
44-const CLIENT_ID = 'https://flushes.app/client-metadata.json';
44+const CLIENT_ID = 'https://flushes.app/oauth-client-metadata.json';
55// Need to include transition:generic to be able to create records
66const SCOPES = 'atproto transition:generic';
77
+1-1
src/lib/oauth-client.ts
···2233// Client metadata for the OAuth client
44const CLIENT_METADATA = {
55- "client_id": "https://flushes.app/client-metadata.json",
55+ "client_id": "https://flushes.app/oauth-client-metadata.json",
66 "application_type": "web" as const,
77 "client_name": "Flushes",
88 "client_uri": "https://flushes.app",