Drawings for friends.
npm startBluesky OAuth local callbacks should use 127.0.0.1 (not localhost).
- Start the app with functions:
npm start- Open the app at:
http://127.0.0.1:8888/login
- Start login from the
/loginpage. The app now:
- Starts OAuth at
/api/auth/oauth/start - Uses PKCE (
code_verifier+S256code_challenge) - Uses OAuth server discovery + PAR (
request_uri) - Finishes callback exchange at
/api/auth/oauth/finish
Cannot GET /oauth/authorizeon a*.host.bsky.networkURL: this means an old/non-discovered authorize endpoint is being used. The current flow should redirect tohttps://bsky.social/oauth/authorize?...&request_uri=.... Restart local dev server and retry fromhttp://127.0.0.1:8888/login.
BSKY_OAUTH_SCOPE: override OAuth scope (default:atproto transition:generic)BSKY_OAUTH_CLIENT_NAME: client metadataclient_nameBSKY_OAUTH_CLIENT_ORIGIN: override client metadata origin (useful with ngrok/tunnel)
If Bluesky cannot reach your local client metadata URL, set
BSKY_OAUTH_CLIENT_ORIGIN to your HTTPS tunnel origin and retry.
npm testnpm run test:e2enpm run test:e2e -- test/feed-route.actions.test.tsxnpm run test:e2e -- test/state.feed.test.tsnpx vitest run test/home-route.color-picker.test.ts