From 09301f230bfbda9d4a0b3749caf3558312616f93 Mon Sep 17 00:00:00 2001
From: Louis Capitanchik <contact@louiscap.co>
Date: Tue, 16 Nov 2021 22:15:56 +0000
Subject: [PATCH] Update JWK key urn

---
 CHANGELOG.md          | 1 +
 src/core/utils/jwt.js | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8099d18..8bd5078 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,7 @@
 
 ### Added
 
+- Correct OAuth2 access handling
 - Use ALS for request-agnostic context injection
 - Add performance monitoring to queue jobs
 - Use queue for sending password reset emails
diff --git a/src/core/utils/jwt.js b/src/core/utils/jwt.js
index 1383275..69466b9 100644
--- a/src/core/utils/jwt.js
+++ b/src/core/utils/jwt.js
@@ -107,5 +107,5 @@ exports.getClaims = tokenPayload => {
 exports.jwtOptions = {
 	issuer: 'urn:jetsam:systems:auth',
 	claims: 'urn:jetsam:resources:claims',
-	keyid_prefix: 'urn:jetsam:jwk:'
+	keyid_prefix: 'urn:jetsam:resources:jwk:'
 }
-- 
GitLab