stjude / proteinpaint

Data visualization and analysis framework focused on phenotype-molecular data integration at cohort level.
https://proteinpaint.stjude.org/
Other
14 stars 3 forks source link

fix: add missing jsonwebtoken import #1697

Closed aacic closed 1 month ago

aacic commented 1 month ago

Description

To test, add to serverconfig.json:

  "jwt": {
    "secret": "XXX",
    "permissioncheck": "clinical_permission"
  },

In app.middlewares.js add to the line 35:

j.jwt = "XXX"

Load: http://localhost:3000

You should see:

Cannot get genomes: Invalid token

Checklist

Check each task that has been performed or verified to be not applicable.