stjude / proteinpaint

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

Handle jwt in serverconfig #1687

Closed aacic closed 3 months ago

aacic commented 3 months ago

Description

Add jwt handling.

To test, add to serverconfig.json:

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

Load: http://localhost:3000

The message:

Cannot get genomes: json web token missing

should appear.

Checklist

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