From 172d26dea4deae7d5effeee6f5db36bb91513748 Mon Sep 17 00:00:00 2001 From: Wilhelm Berggren Date: Sat, 11 Apr 2026 09:40:22 +0200 Subject: [PATCH] fix hard coded oauth scope --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- knotmirror 0.0.1