Skip to content

Commit

Permalink
fix scope
Browse files Browse the repository at this point in the history
  • Loading branch information
vemonet committed Mar 26, 2024
1 parent b76a5c1 commit 6d61eef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ It aims to enable data owners and data scientists to:
This platform is composed of 3 main components:

* **[Oxigraph](https://github.com/oxigraph/oxigraph) triplestore** containing the cohorts and their variables metadata, exposing a SPARQL endpoint only available to the backend API.
* The data stored in the triplestore complies with the custom **[iCARE4CVD OWL ontology](https://maastrichtu-ids.github.io/cohort-explorer/)**. It contains 3 classes: Cohort, Variable, and Variable category.

* **`backend/` server**, built with python, FastAPI and RDFLib.
* **`frontend/` web app** running on the client, built with TypeScript, NextJS, ReactJS, TailwindCSS, and DaisyUI.

Expand All @@ -38,9 +40,6 @@ This platform is composed of 3 main components:
## ☑️ To do

* [ ] Improve validation of uploaded data dictionaries. Make sure error message are helpful.
* [ ] Save mappings to triplestore using a new predicate `icare:mapped_concept`?
* [ ] Improve classes and predicates currently used to describe cohorts metadata files?
* [ ] Integrate LUCE blockchain component. Should it be deployed separately, or as a service in the `docker-compose.yml`?

## 🧑‍💻 Development
Expand Down
2 changes: 1 addition & 1 deletion backend/src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Settings:
client_id: str = field(default_factory=lambda: os.getenv("CLIENT_ID", ""))
client_secret: str = field(default_factory=lambda: os.getenv("CLIENT_SECRET", ""))
response_type: str = field(default_factory=lambda: os.getenv("RESPONSE_TYPE", "code"))
scope: str = field(default_factory=lambda: os.getenv("SCOPE", "openid email read:permissions"))
scope: str = field(default_factory=lambda: os.getenv("SCOPE", "openid email"))
jwt_secret: str = field(
default_factory=lambda: os.getenv("JWT_SECRET", "vCitcsPBwH4BMCwEqlO1aHJSIn--usrcyxPPRbeYdHM")
)
Expand Down

0 comments on commit 6d61eef

Please sign in to comment.