Error: Web Crypto API is not available

I am experiencing the same while testing the upgrade to Keycloak server and keycloak-js to version 26.0.0, but only when running on http locally, when switching to self-signed https locally, the login works.