-
Notifications
You must be signed in to change notification settings - Fork 7
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
Initial access causes white screen since v5.3.0 #39
Comments
Hello @tobias-kellner, Thank for reporting.
|
Hey @garronej, sure. This is what I am getting if I try to access |
Thanks, and what's the initialization error? you can console log it in the ErrorFallback component provided as props to the in enforced auth mode: https://docs.oidc-spa.dev/documentation/globally-enforce-authentication |
The
I already tested around with the valid redirect URIs. That seems not to be the problem. I guess it is either the HTTPS thing. |
Ok I understand |
I have a simple React + Vite web application and I am using oidc-spa with KC26. With the latest oidc-spa version I have the problem that I cannot access my application. I am getting a white screen. I have set the
isAuthGloballyRequired
flag totrue
.But I am getting the problem only when I access my application with the PC's IP address (http://192.168.178.129:5173/) with
http://localhost:5173
orhttp://127.0.0.1:5173
it is working fine. The browsers console or network tab are showing no problems at all. At first I had a CORS problem in mind but configuring Keycloak with*
does not help.I did go back the versions until it worked again and it seems like the problem exists since the v5.3.0 release. With v5.2.8 it works as expected.
If you need any further information to fix this just let me know.
Thanks!
The text was updated successfully, but these errors were encountered: