summaryrefslogtreecommitdiff
path: root/issues
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-04-30 14:09:12 +0300
committerMunyoki Kilyungi2024-04-30 14:09:25 +0300
commit959124dad543cb086db207483b15da1ff1f7a3a4 (patch)
treed28572e307c4b700f7fd6e2843a610517129a1da /issues
parent7679ff1770b49516a877440d5324a1d8a1d37d71 (diff)
downloadgn-gemtext-959124dad543cb086db207483b15da1ff1f7a3a4.tar.gz
Update issue.
Diffstat (limited to 'issues')
-rw-r--r--issues/move-dataset-metadata-to-git.gmi12
-rw-r--r--issues/set-up-jwt-gn3.gmi24
2 files changed, 31 insertions, 5 deletions
diff --git a/issues/move-dataset-metadata-to-git.gmi b/issues/move-dataset-metadata-to-git.gmi
index ef80024..7e0ab7d 100644
--- a/issues/move-dataset-metadata-to-git.gmi
+++ b/issues/move-dataset-metadata-to-git.gmi
@@ -1,15 +1,17 @@
-# Move GN Dataset/GeneRIF to Git
+# Move GN Dataset to Git
* assigned: bonfacem
* priority: high
* type: metadata
* keywords: metadata
+* status: closed
## Description
Move GN metadata from RDF to text files.
-* [ ] Transform InfoFiles (public) data to text files that are versioned---use gn-docs
-* [ ] Refactor GN code to source this data from git
-* [ ] Editing/Auth
-* [ ] Repeat above for private data
+* [X] Transform InfoFiles (public) data to text files that are versioned---use gn-docs
+* [X] Refactor GN code to source this data from git
+* [X] Editing/Auth
+* [-] Repeat above for private data
+
diff --git a/issues/set-up-jwt-gn3.gmi b/issues/set-up-jwt-gn3.gmi
new file mode 100644
index 0000000..8b78f9e
--- /dev/null
+++ b/issues/set-up-jwt-gn3.gmi
@@ -0,0 +1,24 @@
+# Re-use JWTs in gn3
+
+* assigned: bonfacem
+* tags: critical
+
+## Description
+
+We move auth related functionality to GN2. Auth is currently in used by the LLM app, and the editing metadata work.
+
+Resolved in:
+
+* https://github.com/genenetwork/genenetwork3/pull/158
+* https://github.com/genenetwork/genenetwork2/pull/840
+* https://github.com/genenetwork/genenetwork3/pull/158/commits/7b4c1acf4cc8d1408fe44c887d878a4b5782a0c3
+
+When setting up gn-auth, remember to update this table, otherwise you'll get a "BAD REQUEST" error in GN2:
+
+```
+UPDATE oauth2_clients SET client_metadata='{"client_name": "GN2 Local Dev Server", "token_endpoint_auth_method": ["client_secret_post", "client_secret_basic"], "client_type": "confidential", "grant_types": ["password", "authorization_code", "refresh_token", "urn:ietf:params:oauth:grant-type:jwt-bearer"], "default_redirect_uri": "http://localhost:5007/oauth2/code", "redirect_uris": ["http://localhost:5007/oauth2/code"], "response_type": ["code", "token"], "scope": ["profile", "group", "role", "resource", "user", "masquerade"]}' WHERE client_id = '0bbfca82-d73f-4bd4-a140-5ae7abb4a64d';
+```
+
+
+
+* closed