Unable to use UserRepresentation #127
-
Describe the bugNote: this may be user error: In my code I import the following and I make the following sudo call This works when my backend is running, but if I try to write a test to call It I get the following error:
Version3.0.0 Expected behaviorNo response Actual behaviorNo response How to Reproduce?No response Relevant log outputNo response Anything else?No response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
This might be a version conflict between your code and the testcontainer-keycloak library (or Keycloak Docker image). |
Beta Was this translation helpful? Give feedback.
-
Sure let me try to give you some context here. I appreciate your help! Code Set Up
Example Code:
Test Set Up
|
Beta Was this translation helpful? Give feedback.
-
Wit "minimal reproducible example" I meant a project/repo which has all the resources ready to use (nothing more) and is able to reproduce the mentioned behavior. In best case, this will be a Maven-based Java project. Anything else is hard for me to work with. |
Beta Was this translation helpful? Give feedback.
-
Sorry it took me a little longer then I had hoped to put this together: |
Beta Was this translation helpful? Give feedback.
In your
gradle.properties
changeto
and it works.
When using the admin client (api), always use similar version in your code and on server.