web components for a integratabtle atproto based guestbook

use repo collection in oauth scope instead of transition:generic

authored by yuna0x0.com and committed by

Tangled 7907ba51 7befa943

+3 -3
+2 -2
README.md
··· 27 27 oauth: { 28 28 clientId: 'https://your-app.com/client-metadata.json', 29 29 redirectUri: 'https://your-app.com/', 30 - scope: 'atproto transition:generic', 30 + scope: 'atproto repo:pet.nkp.guestbook.sign', 31 31 }, 32 32 }); 33 33 ``` ··· 54 54 oauth: { 55 55 clientId: 'https://your-app.com/client-metadata.json', 56 56 redirectUri: 'https://your-app.com/', 57 - scope: 'atproto transition:generic', 57 + scope: 'atproto repo:pet.nkp.guestbook.sign', 58 58 }, 59 59 }); 60 60
+1 -1
demo/public/client-metadata.json
··· 3 3 "client_name": "guestbook", 4 4 "client_uri": "https://guestbook.nkp.pet", 5 5 "redirect_uris": ["https://guestbook.nkp.pet/"], 6 - "scope": "atproto transition:generic", 6 + "scope": "atproto repo:pet.nkp.guestbook.sign", 7 7 "grant_types": ["authorization_code", "refresh_token"], 8 8 "response_types": ["code"], 9 9 "token_endpoint_auth_method": "none",