From a9700bfa6242c66bafa8fb8bd272b6092ea7be93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Wed, 21 Oct 2026 21:40:06 +0200 Subject: [PATCH] test(oura): grant the workout and heartrate scopes in the callback fixture The fixture granted the scopes Oura was asked for before workouts and intraday heart rate joined; a full grant now names those two as well. --- tests/integration/oauth-callback-single-use.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/integration/oauth-callback-single-use.test.ts b/tests/integration/oauth-callback-single-use.test.ts index 4c5a1b824..6f71de311 100644 --- a/tests/integration/oauth-callback-single-use.test.ts +++ b/tests/integration/oauth-callback-single-use.test.ts @@ -128,7 +128,7 @@ describe("Oura callback delivered twice", () => { refresh_token: "oura-refresh", expires_in: 86400, scope: - "extapi:daily extapi:personal extapi:spo2 extapi:heart_health extapi:stress", + "extapi:daily extapi:personal extapi:spo2 extapi:heart_health extapi:stress extapi:workout extapi:heartrate", }), { status: 200, headers: { "content-type": "application/json" } }, ); @@ -169,7 +169,8 @@ describe("Oura callback delivered twice", () => { access_token: "oura-access", refresh_token: "oura-refresh", expires_in: 86400, - scope: "extapi:daily extapi:personal extapi:spo2 extapi:heart_health", + scope: + "extapi:daily extapi:personal extapi:spo2 extapi:heart_health extapi:workout extapi:heartrate", }), { status: 200, headers: { "content-type": "application/json" } }, );