~cadence/Frames

db2b1600640032fc240d4ce134938e2fdb9ccb63 — Cadence Ember 7 months ago 3930d04
Update auth scopes

The new set is read:accounts + read:follows, which is better than read.
1 files changed, 1 insertions(+), 1 deletions(-)

M utils/auth.js
M utils/auth.js => utils/auth.js +1 -1
@@ 20,7 20,7 @@ async function getOrCreateApplication(origin) {

	const brand = await detector(origin)
	const client = generator(brand, origin)
	const appData = await client.registerApp("Frames", {scopes: ["read"], redirect_uris: "urn:ietf:wg:oauth:2.0:oob"})
	const appData = await client.registerApp("Frames", {scopes: ["read:accounts", "read:follows"], redirect_uris: "urn:ietf:wg:oauth:2.0:oob"})
	const prepared = {
		origin,
		brand,