From df3767cd1c382e6b239c924ad88c2e39be9be08b Mon Sep 17 00:00:00 2001 From: Mihaly Lengyel Date: Sun, 17 Mar 2024 21:37:32 +0100 Subject: [PATCH] feat: add useDynamicSigningKey to session refresh requests --- CHANGELOG.md | 4 ++++ api_spec.yaml | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef40340..8504733 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] +## [3.1.0] + +- Adds an optional `useDynamicSigningKey` to the session refresh (`POST` `/appid-/recipe/session/refresh`) request body + ## [3.0.5] - Adds GET `/appid-/requests/stats` API diff --git a/api_spec.yaml b/api_spec.yaml index c7d36ff..34ff123 100644 --- a/api_spec.yaml +++ b/api_spec.yaml @@ -5,7 +5,7 @@ info: `appid-` and `` in all the APIs are optional. Their default values are `appid-public` and `public` respectively - version: 3.0.5 + version: 3.1.0 title: Core Driver Interface contact: email: team@supertokens.io @@ -2756,6 +2756,8 @@ paths: $ref: '#/components/schemas/enableAntiCsrf' antiCsrfToken: $ref: '#/components/schemas/token' + useDynamicSigningKey: + type: boolean required: [refreshToken, enableAntiCsrf] responses: '200':