-
-
Notifications
You must be signed in to change notification settings - Fork 315
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
Login information entered in settings does not translate to OH3 login #2339
Comments
@ghys Do you think some kind of api could resolve this issue? The app could pass the credentials for basic auth to the UI. |
Same problem here. I've been strugling with Nginx and/or Auth in OH3 and got to a point, where android app is not working whatever I do. Nginx is configured to stop on basic auth for everyone outside local network. Cases:
Nginx config is supplied with:
|
I have similar requirement. After digging into MainUI's code, IOS/Androud do not have jsinterface to pass credentials into MainUI to perform login. For my case, I prefer using API Token to login in instead of username/password. Hence, i have created the following PR but unfortunately it doesn't create much traction. There is another related PR which i have not opened yet because i don't see much response from experts. This idea is mentioned here: https://community.openhab.org/t/x-openhab-token-use-for-mainui-authentication/149548) Combine the above PRs and existing unused codes in MainUI to extract credentials from IOS/Android, i believe only then we can see the "SSO" :)
|
Does MainUI already implement the JS interface |
Actual behaviour
Describe us what happens
The username/password in the settings only functions in authenticating with the cloud connector, user still needs to login via the OH3 page before being presented with paper UI administration
Expected behaviour
Describe us what should happen
Login information in settings should function as auth headers for OH3 admin
Steps to reproduce
Can you reproduce the issue in demo mode?
Environment data
Client
Server
openHAB Cloud
Logs
App log
Click to expand
openHAB Server log
Click to expand
The text was updated successfully, but these errors were encountered: