aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/oauth2
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-08-05 17:21:20 -0500
committerAlexander_Kabui2024-08-28 15:02:46 +0300
commitc8ed49cecb2cc15b1f24c825b3b600e06b329109 (patch)
tree8e15c0be4aab9de5f742f66b98dfcd75ae86a9ff /gn2/wqflask/oauth2
parent1a4f0b1195cc7351589460487fc867935ba22aac (diff)
downloadgenenetwork2-c8ed49cecb2cc15b1f24c825b3b600e06b329109.tar.gz
Update JWKs endpoint documentation.
Diffstat (limited to 'gn2/wqflask/oauth2')
-rw-r--r--gn2/wqflask/oauth2/toplevel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/oauth2/toplevel.py b/gn2/wqflask/oauth2/toplevel.py
index bc40a924..c6b789aa 100644
--- a/gn2/wqflask/oauth2/toplevel.py
+++ b/gn2/wqflask/oauth2/toplevel.py
@@ -94,7 +94,7 @@ def authorisation_code():
def public_jwks():
"""Provide endpoint that returns the public keys."""
return jsonify({
- "documentation": "Returns a static key for the time being. This will change.",
+ "documentation": "The keys are listed in order of creation.",
"jwks": KeySet(jwks.list_jwks(
jwks.jwks_directory(app, "GN2_SECRETS"))).as_dict().get("keys")
})