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

Fixes for using activate_session to change users. #1769

Merged
merged 3 commits into from
Jan 8, 2025

Conversation

mver-al
Copy link
Contributor

@mver-al mver-al commented Jan 8, 2025

  • The updated ServerNonce was not saved after activate_session, which means that subsequent activate_sessions would fail with BadIdentityTokenInvalid.
  • The self._password attribute of Client was checked in _add_user_auth function, instead of its own password argument.

- The updated ServerNonce was not saved after activate_session, which
  means that subsequent activate_sessions would fail with
  BadIdentityTokenInvalid.
- The _username and _password attributes of Client were never updated but
  checked in the code (_add_user_auth function).
@mver-al mver-al marked this pull request as draft January 8, 2025 15:14
@mver-al mver-al marked this pull request as ready for review January 8, 2025 15:32
@oroulet
Copy link
Member

oroulet commented Jan 8, 2025

thanks

@oroulet oroulet merged commit b1cfae3 into FreeOpcUa:master Jan 8, 2025
6 checks passed
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