your personal website on atproto - mirror blento.app

Merge pull request #216 from flo-bit/improve-oauth-permissions

improve oauth permissions

authored by

Florian and committed by
GitHub
d15e10ba e6a721fc

+9 -2
+9 -1
src/lib/atproto/metadata.ts
··· 20 20 blobScope = 'blob:' + permissions.blobs; 21 21 } 22 22 23 - const scope = ['atproto', repos, rpcs, blobScope].filter((v) => v?.trim()).join(' '); 23 + const scope = [ 24 + 'atproto', 25 + repos, 26 + rpcs, 27 + blobScope, 28 + 'include:app.bsky.authCreatePosts include:site.standard.authFull' 29 + ] 30 + .filter((v) => v?.trim()) 31 + .join(' '); 24 32 return scope; 25 33 } 26 34
-1
src/lib/atproto/settings.ts
··· 20 20 'app.blento.settings', 21 21 'app.blento.comment', 22 22 'app.blento.guestbook.entry', 23 - 'app.bsky.feed.post?action=create', 24 23 'site.standard.publication', 25 24 'site.standard.document', 26 25 'xyz.statusphere.status',