Skip to content

Commit

Permalink
feat(server): Request access to update ORCID works
Browse files Browse the repository at this point in the history
  • Loading branch information
nellh committed Aug 14, 2024
1 parent b990ddb commit 28c7c02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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",

Check warning on line 164 in packages/openneuro-server/src/libs/authentication/passport.ts

View check run for this annotation

Codecov / codecov/patch

packages/openneuro-server/src/libs/authentication/passport.ts#L164

Added line #L164 was not covered by tests
callbackURL: `${config.url + config.apiPrefix}auth/orcid/callback`,
},
verifyORCIDUser,
Expand Down

0 comments on commit 28c7c02

Please sign in to comment.