diff --git a/public/script.js b/public/script.js index 7668af3..3e04718 100644 --- a/public/script.js +++ b/public/script.js @@ -169,7 +169,7 @@ class AtprotoLogin extends HTMLElement { sessionStorage.setItem('atproto-pending-handle', identifier); const authUrl = await createAuthorizationUrl({ target: { type: 'account', identifier }, - scope: 'atproto', + scope: metadata.scope, }); await new Promise(r => setTimeout(r, 200)); window.location.assign(authUrl);