@openneuro/server 4.13.0 → 4.13.1-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openneuro/server",
3
- "version": "4.13.0",
3
+ "version": "4.13.1-alpha.2",
4
4
  "description": "Core service for the OpenNeuro platform.",
5
5
  "license": "MIT",
6
6
  "main": "src/server.js",
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "@apollo/client": "3.4.17",
19
19
  "@elastic/elasticsearch": "7.15.0",
20
- "@openneuro/search": "^4.13.0",
20
+ "@openneuro/search": "^4.13.1-alpha.2",
21
21
  "@passport-next/passport-google-oauth2": "^1.0.0",
22
22
  "@sentry/node": "^4.5.3",
23
23
  "apollo-server": "2.25.4",
@@ -95,5 +95,5 @@
95
95
  "publishConfig": {
96
96
  "access": "public"
97
97
  },
98
- "gitHead": "458a60d75e6096180369c76d6b63719dedf79736"
98
+ "gitHead": "7aeefaecb962665a9dfba58cac9060fdc4f096b9"
99
99
  }
@@ -173,6 +173,7 @@ export const setupPassportAuth = () => {
173
173
  config.auth.orcid.apiURI.includes('sandbox'),
174
174
  clientID: config.auth.orcid.clientID,
175
175
  clientSecret: config.auth.orcid.clientSecret,
176
+ scope: '/read-limited',
176
177
  callbackURL: `${config.url + config.apiPrefix}auth/orcid/callback`,
177
178
  },
178
179
  verifyORCIDUser,