pyzoom icon indicating copy to clipboard operation
pyzoom copied to clipboard

Should be possible to set an blank/empty password

Open jonespm opened this issue 7 months ago • 1 comments

In both the create_meeting and update_meeting if the value of the password is left as the default None then a password is generated. There's no way using this class to not set any password. For meetings we create, I'd like to just have my meetings with the waiting_room option and no password at all. I attempted to set a blank password but in some cases it still ends up asking for a password on the UI.

I believe that if None is actually the value, then no random default should be generated. Alternatively a new parameter that indicates if a random default should be used if password is None would be fine. The biggest risk of this would be it would break existing functionality.

We noticed there is also, there is already an field the on zoom api default_password which isn't included in the schema. So Zoom should be generating this anyway if it's not provided and it's set to True by default.

So maybe the best thing to do might be:

  • Add default_password to the schema, have this be the default value of True.
  • If default_password is explicitly set to False, then don't generate a password in the library if password = None.

This would preserve existing functionality and add the explicit option to disable the password generation.

Thanks for the library!

jonespm avatar May 31 '25 17:05 jonespm

Sure, please prepare a PR to address it in an optimal way. Thanks!

licht1stein avatar May 31 '25 23:05 licht1stein