diff options
| author | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-10-04 08:42:49 +0000 |
|---|---|---|
| committer | Pjotr <wrk@bosa.lan> | 2026-10-04 08:42:49 +0000 |
| commit | 7ff37201f5bfe97c07305dd0f07c5c18c63d9edf (patch) | |
| tree | 7a62ead1afec9f657b135eaeff525ce35e1c0e8c | |
| parent | abb1fe51b1e8cf4079c462b3657e21376d389b99 (diff) | |
| download | genenetwork4-7ff37201f5bfe97c07305dd0f07c5c18c63d9edf.tar.gz | |
doc: Add RELEASE_NOTES.md, tracking the gn-auth integration work.
* RELEASE_NOTES.md: New file. Summarizes docs/gn-auth.md, notes the Rust extractor/caching work as in progress, and points at the three upstream gn-auth bugs found and fixed while testing against a from-scratch gn-auth instance (gn-auth's own fix-fresh-deployment-bugs branch). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XDDpXvZBQat9uSgDeEMJ8d
| -rw-r--r-- | RELEASE_NOTES.md | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md new file mode 100644 index 0000000..08a0cbc --- /dev/null +++ b/RELEASE_NOTES.md @@ -0,0 +1,40 @@ +# Release Notes + +## Unreleased (`gn-auth` branch) + +Work towards securing endpoints with per-user tokens issued by +gn-auth. Not all endpoints will require a token -- see +`docs/gn-auth.md`. + +### Added + +- `docs/gn-auth.md`: how gn-auth works from a client's perspective -- + tokens are RS256 JWTs verified locally via `GET /auth/public-jwks` + (no per-request call to gn-auth needed), and resource-scoped + authorization (e.g. "can this user do X on InbredSet Y") via + `GET /auth/resource/populations/resource-id/...` followed by + `POST /auth/resource/authorisation`, mirroring + `genenetwork3/gn3/api/case_attributes.py`. + +### In progress + +- A Rust/Axum extractor that verifies a bearer token's JWT signature + and standard claims against gn-auth's JWKS, and a caching layer so + repeated requests for the same (user, resource) pair don't each cost + a round trip to gn-auth. + +### Found and fixed upstream, in gn-auth + +While standing up a from-scratch gn-auth instance to test against (no +prior JWKs/users/sysadmins), three bugs surfaced that would have +blocked this integration on any fresh gn-auth deployment; see +gn-auth's own `RELEASE_NOTES.md` for details: + +- A freshly-started gn-auth could reject every token for up to 6 hours + (stale/empty JWKS cache). +- gn-auth's own `flask init-dev-clients` dev client could not + authenticate at all (unhashed client secret). +- `POST /auth/resource/authorisation` -- the endpoint this integration + depends on -- crashed with a 500 on every fresh deployment. + +All three are fixed on gn-auth's `fix-fresh-deployment-bugs` branch. |
