From 28c7c0256210db5bf815228ef8009fc93df98d45 Mon Sep 17 00:00:00 2001 From: Nell Hardcastle Date: Fri, 26 Jul 2024 10:46:03 -0700 Subject: [PATCH] feat(server): Request access to update ORCID works --- packages/openneuro-server/src/libs/authentication/passport.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/openneuro-server/src/libs/authentication/passport.ts b/packages/openneuro-server/src/libs/authentication/passport.ts index 452711282..ba121d28e 100644 --- a/packages/openneuro-server/src/libs/authentication/passport.ts +++ b/packages/openneuro-server/src/libs/authentication/passport.ts @@ -161,7 +161,7 @@ export const setupPassportAuth = () => { config.auth.orcid.apiURI.includes("sandbox"), clientID: config.auth.orcid.clientID, clientSecret: config.auth.orcid.clientSecret, - scope: "/read-limited", + scope: "/activities/update", callbackURL: `${config.url + config.apiPrefix}auth/orcid/callback`, }, verifyORCIDUser,