Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client that can refresh tokens #102

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

SilviaAmAm
Copy link
Contributor

No description provided.

@SilviaAmAm SilviaAmAm force-pushed the feature/client-that-can-refresh-tokens branch from a4873f0 to 001cf2a Compare November 27, 2024 16:02
docs/recipes.rst Outdated Show resolved Hide resolved
tests/test_clients.py Outdated Show resolved Hide resolved
zgw_consumers/nlx.py Outdated Show resolved Hide resolved
In cases where the client is built and used over a long period of time, eventually authentication tokens like JWT can expire.
The new client refreshes the in case of a 403 response and then does one retry with the fresh credentials
@SilviaAmAm SilviaAmAm merged commit d266e4a into main Dec 3, 2024
7 checks passed
@SilviaAmAm SilviaAmAm deleted the feature/client-that-can-refresh-tokens branch December 3, 2024 09:37
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