Remove data:create which is not needed

This commit is contained in:
oguzhankoral
2025-07-22 17:52:42 +01:00
parent b2f6401ca7
commit ed39428b58
+1 -7
View File
@@ -31,13 +31,7 @@ export default function accRestApi(app: Express) {
clientId: process.env.ACC_CLIENT_ID ?? '',
redirectUri: process.env.ACC_REDIRECT_URL ?? '',
codeChallenge,
scopes: [
'user-profile:read',
'data:read',
'data:create',
'viewables:read',
'openid'
]
scopes: ['user-profile:read', 'data:read', 'viewables:read', 'openid']
})
return res.json({ authorizeUrl })