open source is social v-it.org
0
fork

Configure Feed

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

Add refresh_token grant type to OAuth client metadata

Without refresh_token in grant_types, the PDS only issues short-lived
access tokens, forcing re-authentication on every expiry.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+2 -2
+1 -1
bsky_oauth.js
··· 135 135 client_id: 'https://v-it.org/client-metadata.json', 136 136 client_name: 'vit CLI', 137 137 application_type: 'native', 138 - grant_types: ['authorization_code'], 138 + grant_types: ['authorization_code', 'refresh_token'], 139 139 response_types: ['code'], 140 140 redirect_uris: [redirectUri], 141 141 scope: 'atproto transition:generic',
+1 -1
docs/client-metadata.json
··· 2 2 "client_id": "https://v-it.org/client-metadata.json", 3 3 "client_name": "vit CLI", 4 4 "application_type": "native", 5 - "grant_types": ["authorization_code"], 5 + "grant_types": ["authorization_code", "refresh_token"], 6 6 "response_types": ["code"], 7 7 "redirect_uris": ["http://127.0.0.1/callback"], 8 8 "scope": "atproto transition:generic",