A decentralized music tracking and discovery platform built on AT Protocol 🎵 rocksky.app
spotify atproto lastfm musicbrainz scrobbling listenbrainz
98
fork

Configure Feed

Select the types of activity you want to include in your feed.

Allow prompt-only login and strip login_hint

Remove the login_hint query param when a prompt is requested and allow
onLogin to proceed with an empty handle if prompt is provided. This
supports prompt-based login flows without carrying a prefilled hint.

+4 -1
+3
apps/api/src/bsky/app.ts
··· 39 39 if (cli) { 40 40 ctx.kv.set(`cli:${handle}`, "1"); 41 41 } 42 + if (prompt) { 43 + url.searchParams.delete("login_hint"); 44 + } 42 45 return c.redirect(url.toString()); 43 46 } catch (e) { 44 47 c.status(500);
+1 -1
apps/web/src/layouts/Main.tsx
··· 109 109 useProfile(token || localStorage.getItem("token")); 110 110 111 111 const onLogin = async (prompt?: string) => { 112 - if (!handle.trim()) { 112 + if (!handle.trim() && !prompt) { 113 113 return; 114 114 } 115 115