Skip to content

Conversation

@thomaskrause
Copy link
Member

For long running operations on the same API Client (e.g. an export), it could happen that the token expired during the process. This refactors the CommonUI#getClient method to return a client that updates the JWT token before each request.

thomaskrause and others added 20 commits November 3, 2022 19:38
…yet)

The WebClient is a Spring class that can support automatic refreshing of the token. But using this new API means we have to change all calls to the (possible blocking) WebFlux calls.
…of strings as mono.

If OpenAPITools/openapi-generator#14125 gets merged, we won't need this workaround anymore
@thomaskrause thomaskrause marked this pull request as draft May 22, 2023 12:09
@thomaskrause thomaskrause self-assigned this May 22, 2023
thomaskrause and others added 29 commits July 27, 2023 17:01
@thomaskrause thomaskrause removed their assignment Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants