Skip to content

add option to use non-default api password for basic auth#93

Open
Weranders wants to merge 1 commit intoklacol:mainfrom
Weranders:patch-1
Open

add option to use non-default api password for basic auth#93
Weranders wants to merge 1 commit intoklacol:mainfrom
Weranders:patch-1

Conversation

@Weranders
Copy link
Copy Markdown

Hey!

Thanks for the great work beforehand.

I had trouble initializing your corresponding clage_homeserver integration for home assistant (https://github.com/klacol/homeassistant-clage_homeserver), so I did some digging and found out that the python lib always uses the default credentials for the API.

Being a security nerd, I never use default passwords - so I added the possibility to add the app password together with the other configuration options.

Tested locally - it fixed the issue for me. This is a breaking change, but this project doesn't seem to be used much "out in the wild" apart from home assistant. I'm happy to discuss approaches other than breaking the existing init signature.

Best,
Jan

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.

1 participant