openbase / bco.dal

Domotic Abstraction Layer
Other
1 stars 2 forks source link

BCO OpenHAB binding always authenticated via admin #146

Open DivineThreepwood opened 5 years ago

DivineThreepwood commented 5 years ago

Whatever I try, the binding seems no to accept the credentials. @pLeminoq Could you confirm this behaviour in you setup as well?

To finalize the authentication module, I would like to avoid the admin, admin login.

pLeminoq commented 5 years ago

Yes, I can reproduce this. The underlying issue is that the binding uses the admin credentials as a backup. Most likely the credentials configured for the binding do not match or are not valid Base64 encoded. I do not know why but the logging from the binding informing about this will only appear in the OpenHAB console and not in the log file. Therefore, you do not receive any error messages if you start it as a service.

Would you rather have that the binding does not login at all if the credentials are not valid? Additionally, I think we need a better way of configuring the openhab user credentials so that the issue with the Base64 encoding does not happen...

DivineThreepwood commented 5 years ago

However, accessing the credentials manually via the credential store is not a nice solution anyway.