Open
Description
When hawtio is running in an http mode (not localhost) and user logs in via keycloak they get redirected to "normal" Hawtio login page. Which causes some confusion leaving the user thinking that they must've not configured the application correctly, however in the console there's an error message:
[hawtio-auth-keycloak] Failed to initialise Keycloak: Error: Web Crypto API is not available.
m http://172.17.0.1:8080/hawtio/static/js/4240.1d53be00.chunk.js:2
createLoginUrl http://172.17.0.1:8080/hawtio/static/js/4240.1d53be00.chunk.js:2
login http://172.17.0.1:8080/hawtio/static/js/4240.1d53be00.chunk.js:2
login http://172.17.0.1:8080/hawtio/static/js/4240.1d53be00.chunk.js:2
t http://172.17.0.1:8080/hawtio/static/js/4240.1d53be00.chunk.js:2
d http://172.17.0.1:8080/hawtio/static/js/4240.1d53be00.chunk.js:2
m http://172.17.0.1:8080/hawtio/static/js/4240.1d53be00.chunk.js:2
4240.1d53be00.chunk.js:2:4215134
If possible there should be some toast notification saying that keycloak login doesn't work in insecure contexts.
Metadata
Metadata
Assignees
Type
Projects
Status
Todo
Activity