-
Notifications
You must be signed in to change notification settings - Fork 163
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
window.crypto.subtle is unavailable #1028
Comments
BTW I tried reverting to |
hi @alexkreidler, thank you very much for your issue. That very strange. Do you have a template of your create app + vite? |
We used to get this same error, this was resolved after running local on https instead of http. |
Thank you @abhilashlr7 for you feedback. I need to add this in a FAQ |
Hi @alexkreidler thank you for your issue. |
Issue and Steps to Reproduce
I really love this library and have used it with Keycloak in the past. Unfortunately now I'm getting a weird error on Firefox and Chrome. I have a React app with Vite and React Router.
To reproduce: follow the setup instructions from the README. Then make a component with a button that calls the
login
function. You'll see the error below.Versions
tested on Firefox 111.0.1 (64-bit) and Chrome Version 111.0.5563.147 (Official Build) (64-bit)
Screenshots
Expected
Successfully redirects to Keycloak login page and logs in
Actual
The user sees the default error component with text:
The console has this message:
The text was updated successfully, but these errors were encountered: