Keycloak UI Error: unknown_error / Cannot parse the JSON when Adding Audience Mapper #42784
Unanswered
Ritikkumar352
asked this question in
Q&A
Replies: 2 comments 1 reply
-
|
Had the same issue today, still didn't found a solution |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Hello, I'm also having this issue, did anyone find a solution? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Keycloak UI Error:
unknown_error/ Cannot parse the JSON when Adding Audience MapperEnvironment
quay.io/keycloak/keycloak:latest)Goal
I am setting up a confidential client for a Spring Boot backend.
My goal is to add the client's own
clientIdto theaud(audience) claim in the access token so my backend can validate it.Expected Behavior
When I navigate to:
Client -> Client scopes -> [client-id]-dedicated -> Mappers -> Add "Audience" mapper
I expect the mapper to be created successfully after clicking Save.
Actual Behavior
Could not create mapping: 'unknown_error'
Cannot parse the JSONerror from the failed network request.Steps to Reproduce
my-client-dedicated).my-client-audiencemy-client) from the dropdown.unknown_errorpopup appears.What I've Tried
Workaround
I was able to successfully create the mapper using the Admin REST API directly,
which suggests a potential bug in the UI.
Question
Has anyone else encountered this?
Is there a known issue or a better workaround for the UI?
Beta Was this translation helpful? Give feedback.
All reactions