Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

backport/8.3: fix(common-authentication): Token not refreshed #633

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

jonathanlukas
Copy link
Collaborator

@jonathanlukas jonathanlukas commented Feb 9, 2024

Currently, the token provider not refresh a token unless it is reported invalid by the server.

This behaviour does not work with the zeebe client.

This fix refactors the jwt authentication to check the validity of a token BEFORE sending the request and eventually refreshing the token upfront.

closes #631

@jonathanlukas jonathanlukas self-assigned this Feb 9, 2024
@jonathanlukas jonathanlukas changed the title 631 fix(common-authentication): Token not refreshed fix(common-authentication): Token not refreshed Feb 9, 2024
@jonathanlukas jonathanlukas changed the title fix(common-authentication): Token not refreshed backport/8.3: fix(common-authentication): Token not refreshed Feb 9, 2024
@jonathanlukas jonathanlukas merged commit f751ea4 into release/8.3 Feb 15, 2024
4 checks passed
@jonathanlukas jonathanlukas deleted the 631-backport branch February 15, 2024 11:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant