A decentralized music tracking and discovery platform built on AT Protocol 🎵
listenbrainz spotify atproto lastfm musicbrainz scrobbling

fix(auth): update client metadata URLs and names for consistency

Changed files
+5 -5
apps
api
src
auth
app-proxy
src
+2 -2
apps/api/src/auth/client.ts
··· 25 25 26 26 return new NodeOAuthClient({ 27 27 clientMetadata: { 28 - client_name: "AT Protocol Express App", 28 + client_name: "Rocksky", 29 29 client_id: publicUrl 30 - ? `${url}/client-metadata.json` 30 + ? `${url}/oauth-client-metadata.json` 31 31 : `http://localhost?redirect_uri=${enc( 32 32 `${url}/oauth/callback` 33 33 )}&scope=${enc("atproto transition:generic")}`,
+3 -3
apps/app-proxy/src/index.ts
··· 18 18 scope: 'atproto transition:generic', 19 19 token_endpoint_auth_method: 'none', 20 20 application_type: 'web', 21 - client_id: 'https://rocksky.app/client-metadata.json', 22 - client_name: 'AT Protocol Express App', 21 + client_id: 'https://rocksky.app/oauth-client-metadata.json', 22 + client_name: 'Rocksky', 23 23 client_uri: 'https://rocksky.app', 24 24 dpop_bound_access_tokens: true, 25 25 }; ··· 64 64 65 65 console.log('Request URL:', url.pathname, url.pathname === '/client-metadata.json'); 66 66 67 - if (url.pathname === '/client-metadata.json') { 67 + if (url.pathname === '/oauth-client-metadata.json') { 68 68 return Response.json(metadata); 69 69 } 70 70