Hello! I am using a very old (11) version of KeyCloak. When I get a token using {{host}}/auth/realms/{{realm}}/protocol/openid-connect/token and use it in any API method, for example, in {{host}}/auth/admin/realms/{{realm}}/users/{{keycloak_user_id}} the requests are very, very slow, about 20-30 seconds each. Although when I use a token obtained for the security-admin-console client the requests are super fast, in about 30 milliseconds.
I just copied the token for the security-admin-console client from the browser headers to make sure everything works quickly with it.
Can you tell me what could be the reason for this?
I’d say:
Don’t expect to get answers to a more than outdated version of Keycloak, especially no answers to performance. KC11 is 4 years old, based on a legacy platform (Wildfly) and has many, many bugs and security issues!
Instead, use your energy to update your environment. There! Is! No! Excuse!
It’s not about performance, it’s about security! And most probably, also performance will increase with most recent versions, as they did a lot of work here.
Yes, that’s what I thought and I totally agree with you. Thank you for your reply! I updated my KeyCloak version to 17 and this problem was fixed. I will continue updating. Have a nice day!
1 Like