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

change context variables during runtime via SetVariableTask #292

Merged
merged 3 commits into from
Dec 11, 2023

Conversation

mgor
Copy link
Collaborator

@mgor mgor commented Dec 6, 2023

possible if changing the user context is needed in a scenario, e.g. using a different user to perform requests.

@mgor mgor requested a review from boffman December 6, 2023 18:55
@mgor mgor marked this pull request as draft December 7, 2023 09:39
when changing `auth.user.username` and `auth.user.password` during runtime, any existing authorization tokens should be cached, so they can be re-used if changed back to the original user.

this is to avoid having to authenticate everytime a user is switched.

tokens are only refresh when the original `refresh_time` has expired.
@mgor mgor force-pushed the feature/set_context_variables_runtime branch from b1b8f22 to 6802d95 Compare December 8, 2023 09:18
@mgor mgor marked this pull request as ready for review December 8, 2023 11:05
@boffman boffman merged commit 73ecf04 into Biometria-se:main Dec 11, 2023
14 checks passed
@mgor mgor deleted the feature/set_context_variables_runtime branch January 10, 2024 08:56
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