Repository navigation
Replies: 2 comments 11 replies
|
Hi, I run in to similar issue. Did you managed to resolve it or find a walkaround? |
3 replies
|
found a workaround here (works on my ubuntu): https://stackoverflow.com/a/78397011/592737 |
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
For the frontend React.tsx application, I use the KeycloakProvider wrapper (around App.tsx React), where I initialize keycloak-js (26.1.2) as follows: keycloak.init({onLoad: 'login-required', checkLoginIframe: false, pkceMethod: false}).
I need to run this application for the URL: http://our-local-network.internal/.
In the admin panel, in the Realm settings, I configure it like this: Require SSL of Realm: None, and in the public client settings for the frontend like this: Proof Key for Code Exchange Code Challenge Method: plain.
But! When navigating to the URL: http://our-local-network.internal/, there is an error in initializing keycloak.init, and I see the message: "Initialization error inside KeycloakProvider: Web Crypto API is not available".
In the development environment on localhost, everything works fine, but it doesn't work on HTTP.
This is my first time using a product like this, so please don't be too harsh.
Is there a guaranteed approach to fix this without using HTTPS?
Thanks in advance for your help!
All reactions