You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue with my production database (v25.0.4). I have two clients test and manage-clients. I need to use client/secret of manage-clients to update configuration of test client via rest api.
I created policy and set manage-clients as a client to configure client test. But it doesn't work in production database. However I created the same configuration on empty database and it works perfectly.
I had to assign realm-management roles to manage clients and manage users to client manage-clients on prod. Seems to me permissions for clients don't work in my prod database however permissions for users work fine. How to fix the issue with permissions for clients?
DEBUG [org.keycloak.services.resources.admin.AdminRoot] (executor-thread-13) authenticated admin access for: service-account-manage-clients
DEBUG [org.keycloak.broker.provider.mappersync.ConfigSyncEventListener] (executor-thread-13) Synchronizer org.keycloak.broker.provider.mappersync.GroupConfigPropertyByPathSynchronizer@3a5c472 does not match event: org.keycloak.models.jpa.ClientAdapter$1@64d61c3c
DEBUG [org.keycloak.broker.provider.mappersync.ConfigSyncEventListener] (executor-thread-13) Synchronizer org.keycloak.broker.provider.mappersync.RoleConfigPropertyByClientIdSynchronizer@5c8adab7 does not match event: org.keycloak.models.jpa.ClientAdapter$1@64d61c3c
DEBUG [org.keycloak.broker.provider.mappersync.ConfigSyncEventListener] (executor-thread-13) Synchronizer org.keycloak.broker.provider.mappersync.RoleConfigPropertyByRoleNameSynchronizer@5a0379e2 does not match event: org.keycloak.models.jpa.ClientAdapter$1@64d61c3c
DEBUG [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-13) Error response 403: jakarta.ws.rs.ForbiddenException: HTTP 403 Forbidden
at org.keycloak.services.resources.admin.permissions.RealmPermissions.requireManageAuthorization(RealmPermissions.java:154)
at org.keycloak.authorization.admin.ResourceServerService.create(ResourceServerService.java:80)
at org.keycloak.authorization.admin.AuthorizationService.enable(AuthorizationService.java:67)
at org.keycloak.services.resources.admin.ClientResource.updateAuthorizationSettings(ClientResource.java:844)
at org.keycloak.services.resources.admin.ClientResource.updateClientFromRep(ClientResource.java:838)
at org.keycloak.services.resources.admin.ClientResource.update(ClientResource.java:155)
at org.keycloak.services.resources.admin.ClientResource$quarkusrestinvoker$update_c18fc2ee235fe1638ccf09830bdd635e799b1172.invoke(Unknown Source)
at org.jboss.resteasy.reactive.server.handlers.InvocationHandler.handle(InvocationHandler.java:29)
at io.quarkus.resteasy.reactive.server.runtime.QuarkusResteasyReactiveRequestContext.invokeHandler(QuarkusResteasyReactiveRequestContext.java:141)
at org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext.run(AbstractResteasyReactiveContext.java:147)
at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:582)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have an issue with my production database (v25.0.4). I have two clients
testandmanage-clients. I need to use client/secret ofmanage-clientsto update configuration oftestclient via rest api.I created policy and set
manage-clientsas a client toconfigureclienttest. But it doesn't work in production database. However I created the same configuration on empty database and it works perfectly.I had to assign
realm-managementroles to manage clients and manage users to clientmanage-clientson prod. Seems to me permissions for clients don't work in my prod database however permissions for users work fine. How to fix the issue with permissions for clients?All reactions