From 5197e6f9a7abd70e1b3e28c8715646bf59150d27 Mon Sep 17 00:00:00 2001 From: Hans Glad Date: Fri, 7 Feb 2025 09:32:24 +0100 Subject: [PATCH 1/2] IS-18104: updated changelog for new refresh operation feature --- hub/changelog.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/hub/changelog.rst b/hub/changelog.rst index 2894eb70a8..ee2cac8477 100644 --- a/hub/changelog.rst +++ b/hub/changelog.rst @@ -1,6 +1,19 @@ Changelog ========= +.. _changelog_2025-02-07 + +2025-02-07 +---------- +* Added support for configuring a ``get_refresh_token_operation`` when using custom authentication in the :ref:`REST system `. +This is intended for authentication schemes that use tokens similar to OAuth2 refresh tokens. These refresh tokens are +then typically used for fetching the access token. This new operation will run before the ``get_access_token_operation`` if configured. +* The responses from the ``get_access_token_operation`` and the new ``get_refresh_token_operation`` are now available +in the new ``token`` object, which can be accessed with Jinja expressions. This means that there is no need to configure +the ``access_token_property`` anymore, since all properties inside the response(s) can be accessed with ``{{ token. }}``. +* Marked the custom authentication feature as experimental. + + .. _changelog_2025_01_14: 2025-01-14 From f8ce068401a8ab243705a72ed9540bd6b8f99672 Mon Sep 17 00:00:00 2001 From: Hans Glad Date: Fri, 7 Feb 2025 09:38:30 +0100 Subject: [PATCH 2/2] IS-18104: changelog formatting --- hub/changelog.rst | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/hub/changelog.rst b/hub/changelog.rst index ee2cac8477..b30f48b597 100644 --- a/hub/changelog.rst +++ b/hub/changelog.rst @@ -1,19 +1,18 @@ Changelog ========= -.. _changelog_2025-02-07 +.. _changelog_2025-02-06: -2025-02-07 +2025-02-06 ---------- * Added support for configuring a ``get_refresh_token_operation`` when using custom authentication in the :ref:`REST system `. -This is intended for authentication schemes that use tokens similar to OAuth2 refresh tokens. These refresh tokens are -then typically used for fetching the access token. This new operation will run before the ``get_access_token_operation`` if configured. + This is intended for authentication schemes that use tokens similar to OAuth2 refresh tokens. These refresh tokens are + then typically used for fetching the access token. This new operation will run before the ``get_access_token_operation`` if configured. * The responses from the ``get_access_token_operation`` and the new ``get_refresh_token_operation`` are now available -in the new ``token`` object, which can be accessed with Jinja expressions. This means that there is no need to configure -the ``access_token_property`` anymore, since all properties inside the response(s) can be accessed with ``{{ token. }}``. + in the new ``token`` object, which can be accessed with Jinja expressions. This means that there is no need to configure + the ``access_token_property`` anymore, since all properties inside the response(s) can be accessed with ``{{ token. }}``. * Marked the custom authentication feature as experimental. - .. _changelog_2025_01_14: 2025-01-14