Skip to content

Authentication with Empty Password (empty string) #824

@mochnaufals

Description

@mochnaufals

Hello,

When using authentication via username and password, I understand that PIconnect requires both values to be provided, as stated in the docstrings. However, in some PI Server setups, it's valid for a user account to have an empty string as the password.

Currently, passing an empty string as the password results in an error:
"When passing credentials both the username and password must be specified."

Would it be possible to support an empty string for the password, rather than treating it as "must be specified"?

I've worked around this by modifying the PIconnect source code for my own use, but I’m not sure if that's the best approach.

Thanks!

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions