Is there a way to configure keycloak to reutilize sessions/tokens on login?

Hi,

Is there someway to configure keycloak to re-use session/tokens of client on master realm?

I developed a client that uses the REST API, but Im facing problems when I try to do actions on Keycloak
reusing a token.

To configure a new realm, I’m doing some commands like:

  • Create realm (here is ok, because is the first command)
  • Create roles (Keycloak is with some lag I think, because if I try to re-use token and send request before the end of first command I give 403. I imagine that is something like, a process waiting to be ready and when I try to create role before it is OK I get 403)

What I should do to use REST API with many connections.

I need help :slight_smile:

Best regards,
Diego