After a clean installation of OpenRemote, from the Super Admin standpoint, everything is working correctly, however, once I create a regular user and try to login, the page remains white. When accessing the browser’s dev tools I received this:
https://IP/auth/realms/realmone/account is displaying a 401 and appears to be something with Keycloak. At one point I thought it said that authorization couldn’t be confirmed, or something along the lines of that in the debug.
I am not super savvy in this department so I thought I’d turn here for help.
That sounds odd. Can you share the exact steps to reproduce this?
Please also share your OpenRemote version, or update it to the latest.
Yes, the /auth path is linked to Keycloak, so their endpoint is returning the 401.
Maybe you can share the Keycloak roles / permissions this user has?
Normally I’d create a user for realmone using the Admin Manager UI,
then navigate to <your url>/manager/?realm=realmone in a new tab.
The Keycloak login prompt appears, I log in with the credentials,
and all should work fine.
I am running the instance on a VM and followed the instructions on the GitHub for installation, and running with my machines IP rather than localhost.
After the instance is started I can login as a Super Admin with the provided credentials fine, but when I create a new user in either the default realm or realmone and try to login, the login page appears, and I can successfully login, however the page remains blank; this is where I see the 401 error in the browsers debug. If I navigate through the /auth path I can get to the Keycloak UI and it shows that this new regular user I created is logged in.
Oh also, I have given the user super admin roles as well in the manager UI. I’m not sure those are the same as the specific Keycloak roles/permissions. So far everything that I’ve done I’ve been able to do through the OR UI, with the default access.
This is exactly how I’ve tried thus far, except after logging in with the credentials the page appears blank. I can attempt to get a screen recording of it later to share if that would be helpful.
I think I should be on the newest release 1.3.3, I think, I’m not sure how to check that, but I downloaded the docker-compose file from the Github today, reran it through Docker, and still am facing the same issue.
Do I need to get into the Keycloak UI and change something?
I was able to resolve the problem by accessing the Keycloak UI using http://IP/auth/admin . Inside I found that users were not correctly being assigned permissions, after adding these roles the UI for the regular user populated.
Can you show me how to solve that, please? I have the same problem too but i dont know how to fix it, i create new user in realm master and i can login in, but i create user in different realm it turn white