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

_user_id is never defined when initiating Client #181

Open
jbcirs opened this issue Jun 3, 2024 · 1 comment
Open

_user_id is never defined when initiating Client #181

jbcirs opened this issue Jun 3, 2024 · 1 comment

Comments

@jbcirs
Copy link

jbcirs commented Jun 3, 2024

self._user_id is never defined to a value when initiating Client. create_access_code will fail unless you manually define it. Current workaround is define client.locks._user_id = "your_user_guid"

@shauntarves
Copy link
Owner

Yes, thank you for pointing this out. This changed when the authentication schema changed from the user/pass to the API token. The user id simply isn't returning from the service during this new flow.

I'll make a note to update the docs

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

No branches or pull requests

2 participants