"Client already exists" when editing Client ID of existing entry
mrzxy opened this issue · 8 comments
You have selected "Client Protocol: openid-connect". This plugin is for "Client Protocol: cas" only.
The error message indicates you have duplicate Client ID. I don't know what you're trying to accomplish, but it seems it is not related to this plugin at all. Report any issues with Keycloak (not keycloak-protocol-cas) upstream.
Sorry, I didn’t express it clearly. When I use this code repository, I will prompt this error when I create a new client. No matter whether the client Protocol is cas or saml, I also guarantee that my client id is unique. The incredible thing is that although the error is reported, client modify successfully
I was able to reproduce it - but in the example above you are not creating a new client, you are editing client ID of existing entry.
It might be related to https://issues.redhat.com/projects/KEYCLOAK/issues/KEYCLOAK-18244
It looks like it was fixed in Keycloak 14 - could you verify it, too?
I'm closing this issue, assuming it is fixed in the latest Keycloak version.
If you still encounter this issue, let me know.
you can get around this issue on Keycloak 13 by creating the client. Then export the json.
Edit this json config file to include the redirectURL you need.
Then delete the client, and create a new one from importing the file